Table of Contents

Struct TensorRtInterfaceInfo

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Copied TensorRT versioned-interface metadata. 从 TensorRT 复制出的 versioned-interface 元数据。

public readonly struct TensorRtInterfaceInfo
Inherited Members

Properties

Kind

Gets the TensorRT interface kind string. 获取 TensorRT interface kind 字符串。

public string Kind { get; }

Property Value

string

Major

Gets the TensorRT interface major version. 获取 TensorRT interface major 版本。

public int Major { get; }

Property Value

int

Minor

Gets the TensorRT interface minor version. 获取 TensorRT interface minor 版本。

public int Minor { get; }

Property Value

int

Methods

ToString()

Returns a compact display string for the interface metadata. 返回该 interface 元数据的简短显示字符串。

public override string ToString()

Returns

string

A display string containing the kind and version. 包含 kind 和版本的显示字符串。