Table of Contents

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

min TensorRtDims64

The minimum shape. 最小 shape。

opt TensorRtDims64

The optimization target shape. 优化目标 shape。

max TensorRtDims64

The maximum shape. 最大 shape。

Properties

Max

Gets the maximum supported shape. 获取最大支持 shape。

public TensorRtDims64 Max { get; }

Property Value

TensorRtDims64

Min

Gets the minimum supported shape. 获取最小支持 shape。

public TensorRtDims64 Min { get; }

Property Value

TensorRtDims64

Opt

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

public TensorRtDims64 Opt { get; }

Property Value

TensorRtDims64

Methods

ToString()

Returns a compact diagnostic string. 返回紧凑的诊断字符串。

public override string ToString()

Returns

string