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 TypeMethodDescriptionThe type of a tensor.The type of a tensor.boolean
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;
-
getValueCase
Onnx.TypeProto.ValueCase getValueCase()
-