Package onnx
Interface Onnx.TypeProto.OptionalOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Onnx.TypeProto.Optional
,Onnx.TypeProto.Optional.Builder
- Enclosing class:
- Onnx.TypeProto
public static interface Onnx.TypeProto.OptionalOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Onnx.TypeProto
getElemType()
The type and optional shape of the element wrapped.Onnx.TypeProtoOrBuilder
getElemTypeOrBuilder()
The type and optional shape of the element wrapped.boolean
hasElemType()
The type and optional shape of the element wrapped.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
.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
.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
.onnx.TypeProto elem_type = 1;
-
-