Package onnx

Class OnnxMl.TensorShapeProto.Dimension.Builder

    • Method Detail

      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
      • getDefaultInstanceForType

        public OnnxMl.TensorShapeProto.Dimension getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public OnnxMl.TensorShapeProto.Dimension build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public OnnxMl.TensorShapeProto.Dimension buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
      • setDimParamBytes

        public OnnxMl.TensorShapeProto.Dimension.Builder setDimParamBytes​(org.nd4j.shade.protobuf.ByteString value)
         namespace Shape
         
        string dim_param = 2;
        Parameters:
        value - The bytes for dimParam to set.
        Returns:
        This builder for chaining.
      • getDenotation

        public 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;
        Specified by:
        getDenotation in interface OnnxMl.TensorShapeProto.DimensionOrBuilder
        Returns:
        The denotation.
      • getDenotationBytes

        public 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;
        Specified by:
        getDenotationBytes in interface OnnxMl.TensorShapeProto.DimensionOrBuilder
        Returns:
        The bytes for denotation.
      • setDenotation

        public OnnxMl.TensorShapeProto.Dimension.Builder setDenotation​(String value)
         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;
        Parameters:
        value - The denotation to set.
        Returns:
        This builder for chaining.
      • clearDenotation

        public OnnxMl.TensorShapeProto.Dimension.Builder clearDenotation()
         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:
        This builder for chaining.
      • setDenotationBytes

        public OnnxMl.TensorShapeProto.Dimension.Builder setDenotationBytes​(org.nd4j.shade.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for denotation to set.
        Returns:
        This builder for chaining.