Package onnx

Class Onnx.DenotationConstProto

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Onnx.DenotationConstProtoOrBuilder
    Enclosing class:
    Onnx

    public static final class Onnx.DenotationConstProto
    extends com.google.protobuf.GeneratedMessageV3
    implements Onnx.DenotationConstProtoOrBuilder
     A set of pre-defined constants to be used as values for
     the standard denotation field in TensorShapeProto.Dimension
     for semantic description of the tensor dimension.
     
    Protobuf type onnx.DenotationConstProto
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasDATABATCH

        public boolean hasDATABATCH()
         Describe a batch number dimension.
         
        optional string DATA_BATCH = 1 [default = "DATA_BATCH"];
        Specified by:
        hasDATABATCH in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the dATABATCH field is set.
      • getDATABATCHBytes

        public com.google.protobuf.ByteString getDATABATCHBytes()
         Describe a batch number dimension.
         
        optional string DATA_BATCH = 1 [default = "DATA_BATCH"];
        Specified by:
        getDATABATCHBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for dATABATCH.
      • hasDATACHANNEL

        public boolean hasDATACHANNEL()
         Describe a channel dimension.
         
        optional string DATA_CHANNEL = 2 [default = "DATA_CHANNEL"];
        Specified by:
        hasDATACHANNEL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the dATACHANNEL field is set.
      • getDATACHANNELBytes

        public com.google.protobuf.ByteString getDATACHANNELBytes()
         Describe a channel dimension.
         
        optional string DATA_CHANNEL = 2 [default = "DATA_CHANNEL"];
        Specified by:
        getDATACHANNELBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for dATACHANNEL.
      • hasDATATIME

        public boolean hasDATATIME()
         Describe a time dimension.
         
        optional string DATA_TIME = 3 [default = "DATA_TIME"];
        Specified by:
        hasDATATIME in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the dATATIME field is set.
      • getDATATIMEBytes

        public com.google.protobuf.ByteString getDATATIMEBytes()
         Describe a time dimension.
         
        optional string DATA_TIME = 3 [default = "DATA_TIME"];
        Specified by:
        getDATATIMEBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for dATATIME.
      • hasDATAFEATURE

        public boolean hasDATAFEATURE()
         Describe a feature dimension. This is typically a feature
         dimension in RNN and/or spatial dimension in CNN.
         
        optional string DATA_FEATURE = 4 [default = "DATA_FEATURE"];
        Specified by:
        hasDATAFEATURE in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the dATAFEATURE field is set.
      • getDATAFEATURE

        public String getDATAFEATURE()
         Describe a feature dimension. This is typically a feature
         dimension in RNN and/or spatial dimension in CNN.
         
        optional string DATA_FEATURE = 4 [default = "DATA_FEATURE"];
        Specified by:
        getDATAFEATURE in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The dATAFEATURE.
      • getDATAFEATUREBytes

        public com.google.protobuf.ByteString getDATAFEATUREBytes()
         Describe a feature dimension. This is typically a feature
         dimension in RNN and/or spatial dimension in CNN.
         
        optional string DATA_FEATURE = 4 [default = "DATA_FEATURE"];
        Specified by:
        getDATAFEATUREBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for dATAFEATURE.
      • hasFILTERINCHANNEL

        public boolean hasFILTERINCHANNEL()
         Describe a filter in-channel dimension. This is the dimension
         that is identical (in size) to the channel dimension of the input
         image feature maps.
         
        optional string FILTER_IN_CHANNEL = 5 [default = "FILTER_IN_CHANNEL"];
        Specified by:
        hasFILTERINCHANNEL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the fILTERINCHANNEL field is set.
      • getFILTERINCHANNEL

        public String getFILTERINCHANNEL()
         Describe a filter in-channel dimension. This is the dimension
         that is identical (in size) to the channel dimension of the input
         image feature maps.
         
        optional string FILTER_IN_CHANNEL = 5 [default = "FILTER_IN_CHANNEL"];
        Specified by:
        getFILTERINCHANNEL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The fILTERINCHANNEL.
      • getFILTERINCHANNELBytes

        public com.google.protobuf.ByteString getFILTERINCHANNELBytes()
         Describe a filter in-channel dimension. This is the dimension
         that is identical (in size) to the channel dimension of the input
         image feature maps.
         
        optional string FILTER_IN_CHANNEL = 5 [default = "FILTER_IN_CHANNEL"];
        Specified by:
        getFILTERINCHANNELBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for fILTERINCHANNEL.
      • hasFILTEROUTCHANNEL

        public boolean hasFILTEROUTCHANNEL()
         Describe a filter out channel dimension. This is the dimension
         that is identical (int size) to the channel dimension of the output
         image feature maps.
         
        optional string FILTER_OUT_CHANNEL = 6 [default = "FILTER_OUT_CHANNEL"];
        Specified by:
        hasFILTEROUTCHANNEL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the fILTEROUTCHANNEL field is set.
      • getFILTEROUTCHANNEL

        public String getFILTEROUTCHANNEL()
         Describe a filter out channel dimension. This is the dimension
         that is identical (int size) to the channel dimension of the output
         image feature maps.
         
        optional string FILTER_OUT_CHANNEL = 6 [default = "FILTER_OUT_CHANNEL"];
        Specified by:
        getFILTEROUTCHANNEL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The fILTEROUTCHANNEL.
      • getFILTEROUTCHANNELBytes

        public com.google.protobuf.ByteString getFILTEROUTCHANNELBytes()
         Describe a filter out channel dimension. This is the dimension
         that is identical (int size) to the channel dimension of the output
         image feature maps.
         
        optional string FILTER_OUT_CHANNEL = 6 [default = "FILTER_OUT_CHANNEL"];
        Specified by:
        getFILTEROUTCHANNELBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for fILTEROUTCHANNEL.
      • hasFILTERSPATIAL

        public boolean hasFILTERSPATIAL()
         Describe a filter spatial dimension.
         
        optional string FILTER_SPATIAL = 7 [default = "FILTER_SPATIAL"];
        Specified by:
        hasFILTERSPATIAL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the fILTERSPATIAL field is set.
      • getFILTERSPATIALBytes

        public com.google.protobuf.ByteString getFILTERSPATIALBytes()
         Describe a filter spatial dimension.
         
        optional string FILTER_SPATIAL = 7 [default = "FILTER_SPATIAL"];
        Specified by:
        getFILTERSPATIALBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for fILTERSPATIAL.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Onnx.DenotationConstProto parseFrom​(ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Onnx.DenotationConstProto parseFrom​(ByteBuffer data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Onnx.DenotationConstProto parseFrom​(com.google.protobuf.ByteString data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Onnx.DenotationConstProto parseFrom​(com.google.protobuf.ByteString data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Onnx.DenotationConstProto parseFrom​(byte[] data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Onnx.DenotationConstProto parseFrom​(byte[] data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public Onnx.DenotationConstProto.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Onnx.DenotationConstProto.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Onnx.DenotationConstProto.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Onnx.DenotationConstProto> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Onnx.DenotationConstProto getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder