Package onnx
Interface Onnx.TypeProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Onnx.TypeProto
,Onnx.TypeProto.Builder
- Enclosing class:
- Onnx
public static interface Onnx.TypeProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAn optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside.com.google.protobuf.ByteString
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside.The type of a map.The type of a map.The type of an optional.The type of an optional.The type of a sequence.The type of a sequence.Type of the sparse tensorType of the sparse tensorThe type of a tensor.The type of a tensor.boolean
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside.boolean
The type of a map.boolean
The type of an optional.boolean
The type of a sequence.boolean
Type of the sparse tensorboolean
The type of a tensor.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTensorType
boolean hasTensorType()The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;
- Returns:
- Whether the tensorType field is set.
-
getTensorType
Onnx.TypeProto.Tensor getTensorType()The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;
- Returns:
- The tensorType.
-
getTensorTypeOrBuilder
Onnx.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
Onnx.TypeProto.Sequence getSequenceType()The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;
- Returns:
- The sequenceType.
-
getSequenceTypeOrBuilder
Onnx.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
Onnx.TypeProto.Map getMapType()The type of a map.
.onnx.TypeProto.Map map_type = 5;
- Returns:
- The mapType.
-
getMapTypeOrBuilder
Onnx.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
Onnx.TypeProto.Optional getOptionalType()The type of an optional.
.onnx.TypeProto.Optional optional_type = 9;
- Returns:
- The optionalType.
-
getOptionalTypeOrBuilder
Onnx.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
Onnx.TypeProto.SparseTensor getSparseTensorType()Type of the sparse tensor
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;
- Returns:
- The sparseTensorType.
-
getSparseTensorTypeOrBuilder
Onnx.TypeProto.SparseTensorOrBuilder getSparseTensorTypeOrBuilder()Type of the sparse tensor
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;
-
hasDenotation
boolean hasDenotation()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.
optional string denotation = 6;
- Returns:
- Whether the denotation field is set.
-
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.
optional string denotation = 6;
- Returns:
- The denotation.
-
getDenotationBytes
com.google.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.
optional string denotation = 6;
- Returns:
- The bytes for denotation.
-
getValueCase
Onnx.TypeProto.ValueCase getValueCase()
-