public static interface OnnxMl.TypeProto.TensorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getElemType()
This field MUST NOT have the value of UNDEFINED
This field MUST have a valid TensorProto.DataType value
This field MUST be present for this version of the IR.
|
OnnxMl.TensorShapeProto |
getShape()
optional .onnx.TensorShapeProto shape = 2; |
OnnxMl.TensorShapeProtoOrBuilder |
getShapeOrBuilder()
optional .onnx.TensorShapeProto shape = 2; |
boolean |
hasElemType()
This field MUST NOT have the value of UNDEFINED
This field MUST have a valid TensorProto.DataType value
This field MUST be present for this version of the IR.
|
boolean |
hasShape()
optional .onnx.TensorShapeProto shape = 2; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasElemType()
This field MUST NOT have the value of UNDEFINED This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.
optional int32 elem_type = 1;int getElemType()
This field MUST NOT have the value of UNDEFINED This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.
optional int32 elem_type = 1;boolean hasShape()
optional .onnx.TensorShapeProto shape = 2;OnnxMl.TensorShapeProto getShape()
optional .onnx.TensorShapeProto shape = 2;OnnxMl.TensorShapeProtoOrBuilder getShapeOrBuilder()
optional .onnx.TensorShapeProto shape = 2;