Interfaces and utilities for writing
ONNX models from Java.
-
OnnxMl.AttributeProto.AttributeType.forNumber(int value)
OnnxMl.AttributeProto.Builder.getType()
The type field MUST be present for this version of the IR.
The type field MUST be present for this version of the IR.
OnnxMl.AttributeProtoOrBuilder.getType()
The type field MUST be present for this version of the IR.
OnnxMl.AttributeProto.AttributeType.valueOf(int value)
OnnxMl.AttributeProto.AttributeType.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this class with the specified name.
Returns the enum constant of this class with the specified name.
OnnxMl.AttributeProto.AttributeType.values()
Returns an array containing the constants of this enum class, in
the order they are declared.
The type field MUST be present for this version of the IR.
-
Gets the attribute's type.
Constructs an attribute placeholder of the appropriate name and type.