DynamicRankSupportFlag

Function Usage

Determines whether an operator supports dynamicRanK (dynamic dimension).

Prototype

OpAICoreConfig &DynamicRankSupportFlag(bool flag);

Parameters

Parameter

Input/Output

Description

flag

Input

The default value is true.

  • true: The operator supports dynamic rank. The operator shape can contain (-2), which is used to determine whether to perform dynamic compilation.
  • false: The operator does not support dynamic rank.

Returns

OpAICoreConfig class. For details, see OpAICoreConfig.

Constraints

None