OrtCustomOpInputOutputCharacteristic enum
Specifies some characteristics of inputs/outputs of custom ops: Specify if the inputs/outputs are one of:
- Non-optional (input/output must be present in the node)
- Optional (input/output may be absent in the node)
- Variadic: A variadic input or output specifies N (i.e., the minimum arity) or more operands. Only the last input or output of a custom op may be marked as variadic. The homogeneity of the variadic input or output determines whether all operands must be of the same tensor element type.
Values
- INPUT_OUTPUT_REQUIRED → const OrtCustomOpInputOutputCharacteristic
-
const OrtCustomOpInputOutputCharacteristic(0) - INPUT_OUTPUT_OPTIONAL → const OrtCustomOpInputOutputCharacteristic
-
const OrtCustomOpInputOutputCharacteristic(1) - INPUT_OUTPUT_VARIADIC → const OrtCustomOpInputOutputCharacteristic
-
const OrtCustomOpInputOutputCharacteristic(2)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
-
values
→ const List<
OrtCustomOpInputOutputCharacteristic> - A constant List of the values in this enum, in order of their declaration.