Package onnx
Interface Onnx.TensorShapeProto.DimensionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Onnx.TensorShapeProto.Dimension
,Onnx.TensorShapeProto.Dimension.Builder
- Enclosing class:
- Onnx.TensorShapeProto
public static interface Onnx.TensorShapeProto.DimensionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDenotation()
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.com.google.protobuf.ByteString
getDenotationBytes()
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.String
getDimParam()
namespace Shapecom.google.protobuf.ByteString
getDimParamBytes()
namespace Shapelong
getDimValue()
optional int64 dim_value = 1;
Onnx.TensorShapeProto.Dimension.ValueCase
getValueCase()
boolean
hasDenotation()
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.boolean
hasDimParam()
namespace Shapeboolean
hasDimValue()
optional int64 dim_value = 1;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDimValue
boolean hasDimValue()
optional int64 dim_value = 1;
- Returns:
- Whether the dimValue field is set.
-
getDimValue
long getDimValue()
optional int64 dim_value = 1;
- Returns:
- The dimValue.
-
hasDimParam
boolean hasDimParam()
namespace Shape
optional string dim_param = 2;
- Returns:
- Whether the dimParam field is set.
-
getDimParam
String getDimParam()
namespace Shape
optional string dim_param = 2;
- Returns:
- The dimParam.
-
getDimParamBytes
com.google.protobuf.ByteString getDimParamBytes()
namespace Shape
optional string dim_param = 2;
- Returns:
- The bytes for dimParam.
-
hasDenotation
boolean hasDenotation()
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.
optional string denotation = 3;
- Returns:
- Whether the denotation field is set.
-
getDenotation
String getDenotation()
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.
optional string denotation = 3;
- Returns:
- The denotation.
-
getDenotationBytes
com.google.protobuf.ByteString getDenotationBytes()
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.
optional string denotation = 3;
- Returns:
- The bytes for denotation.
-
getValueCase
Onnx.TensorShapeProto.Dimension.ValueCase getValueCase()
-
-