Package onnx

Interface OnnxMl.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.
      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 Shape
      org.nd4j.shade.protobuf.ByteString getDimParamBytes()
      namespace Shape
      long getDimValue()
      int64 dim_value = 1;
      OnnxMl.TensorShapeProto.Dimension.ValueCase getValueCase()  
      boolean hasDimParam()
      namespace Shape
      boolean hasDimValue()
      int64 dim_value = 1;
      • Methods inherited from interface org.nd4j.shade.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.