Class TensorRtOptimizationProfileShapeValueRangeV2
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Represents the min/opt/max 64-bit value range of a TensorRT shape tensor input. 表示 TensorRT shape tensor 输入的 min/opt/max 64 位整数取值范围。
public sealed class TensorRtOptimizationProfileShapeValueRangeV2
- Inheritance
-
TensorRtOptimizationProfileShapeValueRangeV2
- Inherited Members
Constructors
TensorRtOptimizationProfileShapeValueRangeV2(IReadOnlyList<long>, IReadOnlyList<long>, IReadOnlyList<long>)
Creates a TensorRT optimization profile 64-bit shape-value range. 创建 TensorRT optimization profile 的 64 位 shape-value 范围对象。
public TensorRtOptimizationProfileShapeValueRangeV2(IReadOnlyList<long> min, IReadOnlyList<long> opt, IReadOnlyList<long> max)
Parameters
minIReadOnlyList<long>Minimum values. 最小取值。
optIReadOnlyList<long>Optimization target values. 优化目标取值。
maxIReadOnlyList<long>Maximum values. 最大取值。
Properties
Max
Gets the maximum supported 64-bit shape tensor values. 获取最大支持的 64 位 shape tensor 取值。
public IReadOnlyList<long> Max { get; }
Property Value
Min
Gets the minimum supported 64-bit shape tensor values. 获取最小支持的 64 位 shape tensor 取值。
public IReadOnlyList<long> Min { get; }
Property Value
Opt
Gets the optimization target 64-bit shape tensor values. 获取优化目标的 64 位 shape tensor 取值。
public IReadOnlyList<long> Opt { get; }