Class TensorRtOptimizationProfileShapeRange64
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Describes a TensorRT 11 min/opt/max shape range using 64-bit dimension extents. 使用 64 位维度 extent 描述 TensorRT 11 的 min/opt/max shape 范围。
public sealed class TensorRtOptimizationProfileShapeRange64
- Inheritance
-
TensorRtOptimizationProfileShapeRange64
- Inherited Members
Constructors
TensorRtOptimizationProfileShapeRange64(TensorRtDims64, TensorRtDims64, TensorRtDims64)
Creates a new 64-bit optimization profile shape range. 创建新的 64 位 optimization profile shape 范围。
public TensorRtOptimizationProfileShapeRange64(TensorRtDims64 min, TensorRtDims64 opt, TensorRtDims64 max)
Parameters
minTensorRtDims64The minimum shape. 最小 shape。
optTensorRtDims64The optimization target shape. 优化目标 shape。
maxTensorRtDims64The maximum shape. 最大 shape。
Properties
Max
Gets the maximum supported shape. 获取最大支持 shape。
public TensorRtDims64 Max { get; }
Property Value
Min
Gets the minimum supported shape. 获取最小支持 shape。
public TensorRtDims64 Min { get; }
Property Value
Opt
Gets the optimization target shape. 获取优化目标 shape。
public TensorRtDims64 Opt { get; }
Property Value
Methods
ToString()
Returns a compact diagnostic string. 返回紧凑的诊断字符串。
public override string ToString()