Package onnx
Interface Onnx.TypeProto.OptionalOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Onnx.TypeProto.Optional
,Onnx.TypeProto.Optional.Builder
- Enclosing class:
- Onnx.TypeProto
public static interface Onnx.TypeProto.OptionalOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe type and optional shape of the element wrapped.The type and optional shape of the element wrapped.boolean
The type and optional shape of the element wrapped.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
-
hasElemType
boolean hasElemType()The type and optional shape of the element wrapped. This field MUST be present for this version of the IR. Possible values correspond to OptionalProto.DataType enum
optional .onnx.TypeProto elem_type = 1;
- Returns:
- Whether the elemType field is set.
-
getElemType
Onnx.TypeProto getElemType()The type and optional shape of the element wrapped. This field MUST be present for this version of the IR. Possible values correspond to OptionalProto.DataType enum
optional .onnx.TypeProto elem_type = 1;
- Returns:
- The elemType.
-
getElemTypeOrBuilder
Onnx.TypeProtoOrBuilder getElemTypeOrBuilder()The type and optional shape of the element wrapped. This field MUST be present for this version of the IR. Possible values correspond to OptionalProto.DataType enum
optional .onnx.TypeProto elem_type = 1;
-