Table of Contents

Class TensorRtOptimizationProfileShapeValueRange

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Represents the min/opt/max integer value range of a TensorRT shape tensor input. 表示 TensorRT shape tensor 输入的 min/opt/max 整数取值范围。

public sealed class TensorRtOptimizationProfileShapeValueRange
Inheritance
TensorRtOptimizationProfileShapeValueRange
Inherited Members

Constructors

TensorRtOptimizationProfileShapeValueRange(IReadOnlyList<int>, IReadOnlyList<int>, IReadOnlyList<int>)

Creates a TensorRT optimization profile shape-value range. 创建 TensorRT optimization profile shape-value 范围对象。

public TensorRtOptimizationProfileShapeValueRange(IReadOnlyList<int> min, IReadOnlyList<int> opt, IReadOnlyList<int> max)

Parameters

min IReadOnlyList<int>

Minimum values. 最小取值。

opt IReadOnlyList<int>

Optimization target values. 优化目标取值。

max IReadOnlyList<int>

Maximum values. 最大取值。

Properties

Max

Gets the maximum supported shape tensor values. 获取最大支持的 shape tensor 取值。

public IReadOnlyList<int> Max { get; }

Property Value

IReadOnlyList<int>

Min

Gets the minimum supported shape tensor values. 获取最小支持的 shape tensor 取值。

public IReadOnlyList<int> Min { get; }

Property Value

IReadOnlyList<int>

Opt

Gets the optimization target shape tensor values. 获取优化目标 shape tensor 取值。

public IReadOnlyList<int> Opt { get; }

Property Value

IReadOnlyList<int>