Class Tensor

  • All Implemented Interfaces:
    TensorOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Tensor
    extends com.google.protobuf.GeneratedMessageV3
    implements TensorOrBuilder
     A tensor value type.
     
    Protobuf type google.cloud.aiplatform.v1.Tensor
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Tensor.Builder
      A tensor value type.
      static class  Tensor.DataType
      Data type of the tensor.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsStructVal​(String key)
      A map of string to tensor.
      boolean equals​(Object obj)  
      boolean getBoolVal​(int index)
      Type specific representations that make it easy to create tensor protos in all languages.
      int getBoolValCount()
      Type specific representations that make it easy to create tensor protos in all languages.
      List<Boolean> getBoolValList()
      Type specific representations that make it easy to create tensor protos in all languages.
      com.google.protobuf.ByteString getBytesVal​(int index)
      [STRING][google.aiplatform.master.Tensor.DataType.STRING]
      int getBytesValCount()
      [STRING][google.aiplatform.master.Tensor.DataType.STRING]
      List<com.google.protobuf.ByteString> getBytesValList()
      [STRING][google.aiplatform.master.Tensor.DataType.STRING]
      static Tensor getDefaultInstance()  
      Tensor getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      double getDoubleVal​(int index)
      [DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
      int getDoubleValCount()
      [DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
      List<Double> getDoubleValList()
      [DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
      Tensor.DataType getDtype()
      The data type of tensor.
      int getDtypeValue()
      The data type of tensor.
      float getFloatVal​(int index)
      [FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
      int getFloatValCount()
      [FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
      List<Float> getFloatValList()
      [FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
      long getInt64Val​(int index)
      [INT64][google.aiplatform.master.Tensor.DataType.INT64]
      int getInt64ValCount()
      [INT64][google.aiplatform.master.Tensor.DataType.INT64]
      List<Long> getInt64ValList()
      [INT64][google.aiplatform.master.Tensor.DataType.INT64]
      int getIntVal​(int index)
      [INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
      int getIntValCount()
      [INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
      List<Integer> getIntValList()
      [INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
      Tensor getListVal​(int index)
      A list of tensor values.
      int getListValCount()
      A list of tensor values.
      List<Tensor> getListValList()
      A list of tensor values.
      TensorOrBuilder getListValOrBuilder​(int index)
      A list of tensor values.
      List<? extends TensorOrBuilder> getListValOrBuilderList()
      A list of tensor values.
      com.google.protobuf.Parser<Tensor> getParserForType()  
      int getSerializedSize()  
      long getShape​(int index)
      Shape of the tensor.
      int getShapeCount()
      Shape of the tensor.
      List<Long> getShapeList()
      Shape of the tensor.
      String getStringVal​(int index)
      [STRING][google.aiplatform.master.Tensor.DataType.STRING]
      com.google.protobuf.ByteString getStringValBytes​(int index)
      [STRING][google.aiplatform.master.Tensor.DataType.STRING]
      int getStringValCount()
      [STRING][google.aiplatform.master.Tensor.DataType.STRING]
      com.google.protobuf.ProtocolStringList getStringValList()
      [STRING][google.aiplatform.master.Tensor.DataType.STRING]
      Map<String,​Tensor> getStructVal()
      Deprecated.
      int getStructValCount()
      A map of string to tensor.
      Map<String,​Tensor> getStructValMap()
      A map of string to tensor.
      Tensor getStructValOrDefault​(String key, Tensor defaultValue)
      A map of string to tensor.
      Tensor getStructValOrThrow​(String key)
      A map of string to tensor.
      com.google.protobuf.ByteString getTensorVal()
      Serialized raw tensor content.
      long getUint64Val​(int index)
      [UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
      int getUint64ValCount()
      [UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
      List<Long> getUint64ValList()
      [UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
      int getUintVal​(int index)
      [UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
      int getUintValCount()
      [UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
      List<Integer> getUintValList()
      [UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
      int hashCode()  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      protected com.google.protobuf.MapField internalGetMapField​(int number)  
      boolean isInitialized()  
      static Tensor.Builder newBuilder()  
      static Tensor.Builder newBuilder​(Tensor prototype)  
      Tensor.Builder newBuilderForType()  
      protected Tensor.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static Tensor parseDelimitedFrom​(InputStream input)  
      static Tensor parseDelimitedFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Tensor parseFrom​(byte[] data)  
      static Tensor parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Tensor parseFrom​(com.google.protobuf.ByteString data)  
      static Tensor parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Tensor parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Tensor parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Tensor parseFrom​(InputStream input)  
      static Tensor parseFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Tensor parseFrom​(ByteBuffer data)  
      static Tensor parseFrom​(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Tensor> parser()  
      Tensor.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
      • Methods inherited from class com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • newInstance

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

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

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

        public int getDtypeValue()
         The data type of tensor.
         
        .google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;
        Specified by:
        getDtypeValue in interface TensorOrBuilder
        Returns:
        The enum numeric value on the wire for dtype.
      • getDtype

        public Tensor.DataType getDtype()
         The data type of tensor.
         
        .google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;
        Specified by:
        getDtype in interface TensorOrBuilder
        Returns:
        The dtype.
      • getShapeList

        public List<Long> getShapeList()
         Shape of the tensor.
         
        repeated int64 shape = 2;
        Specified by:
        getShapeList in interface TensorOrBuilder
        Returns:
        A list containing the shape.
      • getShapeCount

        public int getShapeCount()
         Shape of the tensor.
         
        repeated int64 shape = 2;
        Specified by:
        getShapeCount in interface TensorOrBuilder
        Returns:
        The count of shape.
      • getShape

        public long getShape​(int index)
         Shape of the tensor.
         
        repeated int64 shape = 2;
        Specified by:
        getShape in interface TensorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The shape at the given index.
      • getBoolValList

        public List<Boolean> getBoolValList()
         Type specific representations that make it easy to create tensor protos in
         all languages.  Only the representation corresponding to "dtype" can
         be set.  The values hold the flattened representation of the tensor in
         row major order.
        
         [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
         
        repeated bool bool_val = 3;
        Specified by:
        getBoolValList in interface TensorOrBuilder
        Returns:
        A list containing the boolVal.
      • getBoolValCount

        public int getBoolValCount()
         Type specific representations that make it easy to create tensor protos in
         all languages.  Only the representation corresponding to "dtype" can
         be set.  The values hold the flattened representation of the tensor in
         row major order.
        
         [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
         
        repeated bool bool_val = 3;
        Specified by:
        getBoolValCount in interface TensorOrBuilder
        Returns:
        The count of boolVal.
      • getBoolVal

        public boolean getBoolVal​(int index)
         Type specific representations that make it easy to create tensor protos in
         all languages.  Only the representation corresponding to "dtype" can
         be set.  The values hold the flattened representation of the tensor in
         row major order.
        
         [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
         
        repeated bool bool_val = 3;
        Specified by:
        getBoolVal in interface TensorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The boolVal at the given index.
      • getStringValList

        public com.google.protobuf.ProtocolStringList getStringValList()
         [STRING][google.aiplatform.master.Tensor.DataType.STRING]
         
        repeated string string_val = 14;
        Specified by:
        getStringValList in interface TensorOrBuilder
        Returns:
        A list containing the stringVal.
      • getStringValCount

        public int getStringValCount()
         [STRING][google.aiplatform.master.Tensor.DataType.STRING]
         
        repeated string string_val = 14;
        Specified by:
        getStringValCount in interface TensorOrBuilder
        Returns:
        The count of stringVal.
      • getStringVal

        public String getStringVal​(int index)
         [STRING][google.aiplatform.master.Tensor.DataType.STRING]
         
        repeated string string_val = 14;
        Specified by:
        getStringVal in interface TensorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The stringVal at the given index.
      • getStringValBytes

        public com.google.protobuf.ByteString getStringValBytes​(int index)
         [STRING][google.aiplatform.master.Tensor.DataType.STRING]
         
        repeated string string_val = 14;
        Specified by:
        getStringValBytes in interface TensorOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the stringVal at the given index.
      • getBytesValList

        public List<com.google.protobuf.ByteString> getBytesValList()
         [STRING][google.aiplatform.master.Tensor.DataType.STRING]
         
        repeated bytes bytes_val = 15;
        Specified by:
        getBytesValList in interface TensorOrBuilder
        Returns:
        A list containing the bytesVal.
      • getBytesValCount

        public int getBytesValCount()
         [STRING][google.aiplatform.master.Tensor.DataType.STRING]
         
        repeated bytes bytes_val = 15;
        Specified by:
        getBytesValCount in interface TensorOrBuilder
        Returns:
        The count of bytesVal.
      • getBytesVal

        public com.google.protobuf.ByteString getBytesVal​(int index)
         [STRING][google.aiplatform.master.Tensor.DataType.STRING]
         
        repeated bytes bytes_val = 15;
        Specified by:
        getBytesVal in interface TensorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The bytesVal at the given index.
      • getFloatValList

        public List<Float> getFloatValList()
         [FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
         
        repeated float float_val = 5;
        Specified by:
        getFloatValList in interface TensorOrBuilder
        Returns:
        A list containing the floatVal.
      • getFloatValCount

        public int getFloatValCount()
         [FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
         
        repeated float float_val = 5;
        Specified by:
        getFloatValCount in interface TensorOrBuilder
        Returns:
        The count of floatVal.
      • getFloatVal

        public float getFloatVal​(int index)
         [FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
         
        repeated float float_val = 5;
        Specified by:
        getFloatVal in interface TensorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The floatVal at the given index.
      • getDoubleValList

        public List<Double> getDoubleValList()
         [DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
         
        repeated double double_val = 6;
        Specified by:
        getDoubleValList in interface TensorOrBuilder
        Returns:
        A list containing the doubleVal.
      • getDoubleValCount

        public int getDoubleValCount()
         [DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
         
        repeated double double_val = 6;
        Specified by:
        getDoubleValCount in interface TensorOrBuilder
        Returns:
        The count of doubleVal.
      • getDoubleVal

        public double getDoubleVal​(int index)
         [DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
         
        repeated double double_val = 6;
        Specified by:
        getDoubleVal in interface TensorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The doubleVal at the given index.
      • getIntValList

        public List<Integer> getIntValList()
         [INT_8][google.aiplatform.master.Tensor.DataType.INT8]
         [INT_16][google.aiplatform.master.Tensor.DataType.INT16]
         [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
         
        repeated int32 int_val = 7;
        Specified by:
        getIntValList in interface TensorOrBuilder
        Returns:
        A list containing the intVal.
      • getIntValCount

        public int getIntValCount()
         [INT_8][google.aiplatform.master.Tensor.DataType.INT8]
         [INT_16][google.aiplatform.master.Tensor.DataType.INT16]
         [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
         
        repeated int32 int_val = 7;
        Specified by:
        getIntValCount in interface TensorOrBuilder
        Returns:
        The count of intVal.
      • getIntVal

        public int getIntVal​(int index)
         [INT_8][google.aiplatform.master.Tensor.DataType.INT8]
         [INT_16][google.aiplatform.master.Tensor.DataType.INT16]
         [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
         
        repeated int32 int_val = 7;
        Specified by:
        getIntVal in interface TensorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The intVal at the given index.
      • getInt64ValList

        public List<Long> getInt64ValList()
         [INT64][google.aiplatform.master.Tensor.DataType.INT64]
         
        repeated int64 int64_val = 8;
        Specified by:
        getInt64ValList in interface TensorOrBuilder
        Returns:
        A list containing the int64Val.
      • getInt64ValCount

        public int getInt64ValCount()
         [INT64][google.aiplatform.master.Tensor.DataType.INT64]
         
        repeated int64 int64_val = 8;
        Specified by:
        getInt64ValCount in interface TensorOrBuilder
        Returns:
        The count of int64Val.
      • getInt64Val

        public long getInt64Val​(int index)
         [INT64][google.aiplatform.master.Tensor.DataType.INT64]
         
        repeated int64 int64_val = 8;
        Specified by:
        getInt64Val in interface TensorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The int64Val at the given index.
      • getUintValList

        public List<Integer> getUintValList()
         [UINT8][google.aiplatform.master.Tensor.DataType.UINT8]
         [UINT16][google.aiplatform.master.Tensor.DataType.UINT16]
         [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
         
        repeated uint32 uint_val = 9;
        Specified by:
        getUintValList in interface TensorOrBuilder
        Returns:
        A list containing the uintVal.
      • getUintValCount

        public int getUintValCount()
         [UINT8][google.aiplatform.master.Tensor.DataType.UINT8]
         [UINT16][google.aiplatform.master.Tensor.DataType.UINT16]
         [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
         
        repeated uint32 uint_val = 9;
        Specified by:
        getUintValCount in interface TensorOrBuilder
        Returns:
        The count of uintVal.
      • getUintVal

        public int getUintVal​(int index)
         [UINT8][google.aiplatform.master.Tensor.DataType.UINT8]
         [UINT16][google.aiplatform.master.Tensor.DataType.UINT16]
         [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
         
        repeated uint32 uint_val = 9;
        Specified by:
        getUintVal in interface TensorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The uintVal at the given index.
      • getUint64ValList

        public List<Long> getUint64ValList()
         [UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
         
        repeated uint64 uint64_val = 10;
        Specified by:
        getUint64ValList in interface TensorOrBuilder
        Returns:
        A list containing the uint64Val.
      • getUint64ValCount

        public int getUint64ValCount()
         [UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
         
        repeated uint64 uint64_val = 10;
        Specified by:
        getUint64ValCount in interface TensorOrBuilder
        Returns:
        The count of uint64Val.
      • getUint64Val

        public long getUint64Val​(int index)
         [UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
         
        repeated uint64 uint64_val = 10;
        Specified by:
        getUint64Val in interface TensorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The uint64Val at the given index.
      • getListValList

        public List<Tensor> getListValList()
         A list of tensor values.
         
        repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
        Specified by:
        getListValList in interface TensorOrBuilder
      • getListValCount

        public int getListValCount()
         A list of tensor values.
         
        repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
        Specified by:
        getListValCount in interface TensorOrBuilder
      • getListVal

        public Tensor getListVal​(int index)
         A list of tensor values.
         
        repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
        Specified by:
        getListVal in interface TensorOrBuilder
      • getStructValCount

        public int getStructValCount()
        Description copied from interface: TensorOrBuilder
         A map of string to tensor.
         
        map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
        Specified by:
        getStructValCount in interface TensorOrBuilder
      • containsStructVal

        public boolean containsStructVal​(String key)
         A map of string to tensor.
         
        map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
        Specified by:
        containsStructVal in interface TensorOrBuilder
      • getStructValOrThrow

        public Tensor getStructValOrThrow​(String key)
         A map of string to tensor.
         
        map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
        Specified by:
        getStructValOrThrow in interface TensorOrBuilder
      • getTensorVal

        public com.google.protobuf.ByteString getTensorVal()
         Serialized raw tensor content.
         
        bytes tensor_val = 13;
        Specified by:
        getTensorVal in interface TensorOrBuilder
        Returns:
        The tensorVal.
      • 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 Tensor parseFrom​(ByteBuffer data)
                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static Tensor parseFrom​(com.google.protobuf.CodedInputStream input,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected Tensor.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Tensor getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Tensor> parser()
      • getParserForType

        public com.google.protobuf.Parser<Tensor> 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 Tensor getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder