Table of Contents

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

min IReadOnlyList<long>

Minimum values. 最小取值。

opt IReadOnlyList<long>

Optimization target values. 优化目标取值。

max IReadOnlyList<long>

Maximum values. 最大取值。

Properties

Max

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

public IReadOnlyList<long> Max { get; }

Property Value

IReadOnlyList<long>

Min

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

public IReadOnlyList<long> Min { get; }

Property Value

IReadOnlyList<long>

Opt

Gets the optimization target 64-bit shape tensor values. 获取优化目标的 64 位 shape tensor 取值。

public IReadOnlyList<long> Opt { get; }

Property Value

IReadOnlyList<long>