Class TensorRtOnnxLayerOutputTensorMetadata
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Contains copied metadata for one ONNX parser layer output tensor without retaining the parser-owned tensor pointer. 包含一个 ONNX parser layer 输出张量的复制元数据,不保留 parser 拥有的 tensor 指针。
public sealed class TensorRtOnnxLayerOutputTensorMetadata
- Inheritance
-
TensorRtOnnxLayerOutputTensorMetadata
- Inherited Members
Properties
AllowedFormats
Gets the copied allowed-format bitmask. 获取复制后的 allowed-format 位掩码。
public TensorRtTensorFormats AllowedFormats { get; }
Property Value
CanDeleteDeferredRecord
Gets whether this snapshot permits deleting the original deferred record. 获取该 snapshot 是否允许删除原始 deferred 记录。
public bool CanDeleteDeferredRecord { get; }
Property Value
CanPromoteReleaseProof
Gets whether this snapshot can promote public release proof. 获取该 snapshot 是否可晋级 public release proof。
public bool CanPromoteReleaseProof { get; }
Property Value
DataType
Gets the copied tensor data type. 获取复制后的 tensor 数据类型。
public TensorRtDataType DataType { get; }
Property Value
EvidenceKind
Gets the evidence classification for this snapshot. 获取该 snapshot 的证据分类。
public string EvidenceKind { get; }
Property Value
HasDynamicDimension
Gets whether the copied shape contains a dynamic extent or unknown rank. 获取复制 shape 是否包含动态 extent 或未知 rank。
public bool HasDynamicDimension { get; }
Property Value
IsExecutionTensor
Gets whether TensorRT classifies the tensor as an execution tensor. 获取 TensorRT 是否将其标记为 execution tensor。
public bool IsExecutionTensor { get; }
Property Value
IsNetworkInput
Gets whether the tensor is a network input. 获取该 tensor 是否为 network input。
public bool IsNetworkInput { get; }
Property Value
IsNetworkOutput
Gets whether the tensor is a network output. 获取该 tensor 是否为 network output。
public bool IsNetworkOutput { get; }
Property Value
IsRuntimeExecutionProof
Gets whether this snapshot is runtime execution proof. 获取该 snapshot 是否为 runtime execution proof。
public bool IsRuntimeExecutionProof { get; }
Property Value
IsShapeTensor
Gets whether TensorRT classifies the tensor as a shape tensor. 获取 TensorRT 是否将其标记为 shape tensor。
public bool IsShapeTensor { get; }
Property Value
LayerName
Gets the queried ONNX layer name. 获取查询使用的 ONNX layer 名称。
public string LayerName { get; }
Property Value
Line
Gets the TensorRT adapter line. 获取 TensorRT 适配版本线。
public TensorRtApiLine Line { get; }
Property Value
Location
Gets the copied tensor memory location. 获取复制后的 tensor 内存位置。
public TensorRtTensorLocation Location { get; }
Property Value
OutputIndex
Gets the zero-based layer output index. 获取从零开始的 layer 输出索引。
public long OutputIndex { get; }
Property Value
PointerFreeCopiedMetadata
Gets whether all metadata is copied and pointer-free. 获取元数据是否均已复制且不包含指针。
public bool PointerFreeCopiedMetadata { get; }
Property Value
RetainsNativeTensor
Gets whether this snapshot retains the native tensor. 获取该 snapshot 是否保留 native tensor。
public bool RetainsNativeTensor { get; }
Property Value
Shape
Gets the copied shape with 64-bit extents. 获取使用 64 位 extent 的复制 shape。
public TensorRtDims64 Shape { get; }
Property Value
TensorName
Gets the copied TensorRT tensor name. 获取复制后的 TensorRT tensor 名称。
public string TensorName { get; }
Property Value
Methods
ToString()
Returns a compact diagnostic representation. 返回紧凑诊断表示。
public override string ToString()