Package onnx
Interface Onnx.TensorShapeProto.DimensionOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Onnx.TensorShapeProto.Dimension
,Onnx.TensorShapeProto.Dimension.Builder
- Enclosing class:
- Onnx.TensorShapeProto
public static interface Onnx.TensorShapeProto.DimensionOrBuilder extends org.nd4j.shade.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.org.nd4j.shade.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 Shapeorg.nd4j.shade.protobuf.ByteString
getDimParamBytes()
namespace Shapelong
getDimValue()
int64 dim_value = 1;
Onnx.TensorShapeProto.Dimension.ValueCase
getValueCase()
boolean
hasDimParam()
namespace Shapeboolean
hasDimValue()
int64 dim_value = 1;
-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDimValue
boolean hasDimValue()
int64 dim_value = 1;
- Returns:
- Whether the dimValue field is set.
-
getDimValue
long getDimValue()
int64 dim_value = 1;
- Returns:
- The dimValue.
-
hasDimParam
boolean hasDimParam()
namespace Shape
string dim_param = 2;
- Returns:
- Whether the dimParam field is set.
-
getDimParam
String getDimParam()
namespace Shape
string dim_param = 2;
- Returns:
- The dimParam.
-
getDimParamBytes
org.nd4j.shade.protobuf.ByteString getDimParamBytes()
namespace Shape
string dim_param = 2;
- Returns:
- The bytes for dimParam.
-
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. Refer to https://github.com/onnx/onnx/blob/main/docs/DimensionDenotation.md#denotation-definition for pre-defined dimension denotations.
string denotation = 3;
- Returns:
- The denotation.
-
getDenotationBytes
org.nd4j.shade.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. Refer to https://github.com/onnx/onnx/blob/main/docs/DimensionDenotation.md#denotation-definition for pre-defined dimension denotations.
string denotation = 3;
- Returns:
- The bytes for denotation.
-
getValueCase
Onnx.TensorShapeProto.Dimension.ValueCase getValueCase()
-
-