Package ai.onnx.proto

Interface OnnxMl.TensorShapeProto.DimensionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OnnxMl.TensorShapeProto.Dimension, OnnxMl.TensorShapeProto.Dimension.Builder
Enclosing class:
OnnxMl.TensorShapeProto

public static interface OnnxMl.TensorShapeProto.DimensionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    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.
    namespace Shape
    com.google.protobuf.ByteString
    namespace Shape
    long
    int64 dim_value = 1;
     
    boolean
    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
    namespace Shape
    boolean
    int64 dim_value = 1;

    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

    • 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

      com.google.protobuf.ByteString getDimParamBytes()
       namespace Shape
       
      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.
       Refer to https://github.com/onnx/onnx/blob/master/docs/DimensionDenotation.md#denotation-definition
       for pre-defined dimension denotations.
       
      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.
       Refer to https://github.com/onnx/onnx/blob/master/docs/DimensionDenotation.md#denotation-definition
       for pre-defined dimension denotations.
       
      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.
       Refer to https://github.com/onnx/onnx/blob/master/docs/DimensionDenotation.md#denotation-definition
       for pre-defined dimension denotations.
       
      optional string denotation = 3;
      Returns:
      The bytes for denotation.
    • getValueCase