Package onnx

Interface Onnx.TensorShapeProto.DimensionOrBuilder

    • 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 Shape
      com.google.protobuf.ByteString getDimParamBytes()
      namespace Shape
      long 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 Shape
      boolean hasDimValue()
      optional 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 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.