Package onnx
Interface OnnxMl.TypeProtoOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OnnxMl.TypeProto,OnnxMl.TypeProto.Builder
- Enclosing class:
- OnnxMl
public static interface OnnxMl.TypeProtoOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDenotation()An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside.org.nd4j.shade.protobuf.ByteStringgetDenotationBytes()An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside.OnnxMl.TypeProto.MapgetMapType()The type of a map.OnnxMl.TypeProto.MapOrBuildergetMapTypeOrBuilder()The type of a map.OnnxMl.TypeProto.OpaquegetOpaqueType().onnx.TypeProto.Opaque opaque_type = 7;OnnxMl.TypeProto.OpaqueOrBuildergetOpaqueTypeOrBuilder().onnx.TypeProto.Opaque opaque_type = 7;OnnxMl.TypeProto.OptionalgetOptionalType()The type of an optional.OnnxMl.TypeProto.OptionalOrBuildergetOptionalTypeOrBuilder()The type of an optional.OnnxMl.TypeProto.SequencegetSequenceType()The type of a sequence.OnnxMl.TypeProto.SequenceOrBuildergetSequenceTypeOrBuilder()The type of a sequence.OnnxMl.TypeProto.SparseTensorgetSparseTensorType()Type of the sparse tensorOnnxMl.TypeProto.SparseTensorOrBuildergetSparseTensorTypeOrBuilder()Type of the sparse tensorOnnxMl.TypeProto.TensorgetTensorType()The type of a tensor.OnnxMl.TypeProto.TensorOrBuildergetTensorTypeOrBuilder()The type of a tensor.OnnxMl.TypeProto.ValueCasegetValueCase()booleanhasMapType()The type of a map.booleanhasOpaqueType().onnx.TypeProto.Opaque opaque_type = 7;booleanhasOptionalType()The type of an optional.booleanhasSequenceType()The type of a sequence.booleanhasSparseTensorType()Type of the sparse tensorbooleanhasTensorType()The type of a tensor.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTensorType
boolean hasTensorType()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;- Returns:
- Whether the tensorType field is set.
-
getTensorType
OnnxMl.TypeProto.Tensor getTensorType()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;- Returns:
- The tensorType.
-
getTensorTypeOrBuilder
OnnxMl.TypeProto.TensorOrBuilder getTensorTypeOrBuilder()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;
-
hasSequenceType
boolean hasSequenceType()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;- Returns:
- Whether the sequenceType field is set.
-
getSequenceType
OnnxMl.TypeProto.Sequence getSequenceType()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;- Returns:
- The sequenceType.
-
getSequenceTypeOrBuilder
OnnxMl.TypeProto.SequenceOrBuilder getSequenceTypeOrBuilder()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;
-
hasMapType
boolean hasMapType()
The type of a map.
.onnx.TypeProto.Map map_type = 5;- Returns:
- Whether the mapType field is set.
-
getMapType
OnnxMl.TypeProto.Map getMapType()
The type of a map.
.onnx.TypeProto.Map map_type = 5;- Returns:
- The mapType.
-
getMapTypeOrBuilder
OnnxMl.TypeProto.MapOrBuilder getMapTypeOrBuilder()
The type of a map.
.onnx.TypeProto.Map map_type = 5;
-
hasOptionalType
boolean hasOptionalType()
The type of an optional.
.onnx.TypeProto.Optional optional_type = 9;- Returns:
- Whether the optionalType field is set.
-
getOptionalType
OnnxMl.TypeProto.Optional getOptionalType()
The type of an optional.
.onnx.TypeProto.Optional optional_type = 9;- Returns:
- The optionalType.
-
getOptionalTypeOrBuilder
OnnxMl.TypeProto.OptionalOrBuilder getOptionalTypeOrBuilder()
The type of an optional.
.onnx.TypeProto.Optional optional_type = 9;
-
hasSparseTensorType
boolean hasSparseTensorType()
Type of the sparse tensor
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;- Returns:
- Whether the sparseTensorType field is set.
-
getSparseTensorType
OnnxMl.TypeProto.SparseTensor getSparseTensorType()
Type of the sparse tensor
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;- Returns:
- The sparseTensorType.
-
getSparseTensorTypeOrBuilder
OnnxMl.TypeProto.SparseTensorOrBuilder getSparseTensorTypeOrBuilder()
Type of the sparse tensor
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;
-
hasOpaqueType
boolean hasOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7;- Returns:
- Whether the opaqueType field is set.
-
getOpaqueType
OnnxMl.TypeProto.Opaque getOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7;- Returns:
- The opaqueType.
-
getOpaqueTypeOrBuilder
OnnxMl.TypeProto.OpaqueOrBuilder getOpaqueTypeOrBuilder()
.onnx.TypeProto.Opaque opaque_type = 7;
-
getDenotation
String getDenotation()
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/main/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
string denotation = 6;- Returns:
- The denotation.
-
getDenotationBytes
org.nd4j.shade.protobuf.ByteString getDenotationBytes()
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/main/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
string denotation = 6;- Returns:
- The bytes for denotation.
-
getValueCase
OnnxMl.TypeProto.ValueCase getValueCase()
-
-