public final class Tensor extends com.google.protobuf.GeneratedMessageV3 implements TensorOrBuilder
A tensor value type.Protobuf type
google.cloud.aiplatform.v1.Tensor| Modifier and Type | Class and Description |
|---|---|
static class |
Tensor.Builder
A tensor value type.
|
static class |
Tensor.DataType
Data type of the tensor.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
BOOL_VAL_FIELD_NUMBER |
static int |
BYTES_VAL_FIELD_NUMBER |
static int |
DOUBLE_VAL_FIELD_NUMBER |
static int |
DTYPE_FIELD_NUMBER |
static int |
FLOAT_VAL_FIELD_NUMBER |
static int |
INT_VAL_FIELD_NUMBER |
static int |
INT64_VAL_FIELD_NUMBER |
static int |
LIST_VAL_FIELD_NUMBER |
static int |
SHAPE_FIELD_NUMBER |
static int |
STRING_VAL_FIELD_NUMBER |
static int |
STRUCT_VAL_FIELD_NUMBER |
static int |
TENSOR_VAL_FIELD_NUMBER |
static int |
UINT_VAL_FIELD_NUMBER |
static int |
UINT64_VAL_FIELD_NUMBER |
| Modifier and Type | Method and 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.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15; |
int |
getBytesValCount()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15; |
List<com.google.protobuf.ByteString> |
getBytesValList()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15; |
static Tensor |
getDefaultInstance() |
Tensor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getDoubleVal(int index)
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6; |
int |
getDoubleValCount()
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6; |
List<Double> |
getDoubleValList()
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6; |
Tensor.DataType |
getDtype()
The data type of tensor.
|
int |
getDtypeValue()
The data type of tensor.
|
float |
getFloatVal(int index)
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5; |
int |
getFloatValCount()
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5; |
List<Float> |
getFloatValList()
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5; |
long |
getInt64Val(int index)
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8; |
int |
getInt64ValCount()
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8; |
List<Long> |
getInt64ValList()
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8; |
int |
getIntVal(int index)
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8]
[INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16]
[INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]
repeated int32 int_val = 7; |
int |
getIntValCount()
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8]
[INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16]
[INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]
repeated int32 int_val = 7; |
List<Integer> |
getIntValList()
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8]
[INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16]
[INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]
repeated int32 int_val = 7; |
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.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14; |
com.google.protobuf.ByteString |
getStringValBytes(int index)
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14; |
int |
getStringValCount()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14; |
com.google.protobuf.ProtocolStringList |
getStringValList()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14; |
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.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10; |
int |
getUint64ValCount()
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10; |
List<Long> |
getUint64ValList()
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10; |
int |
getUintVal(int index)
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8]
[UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16]
[UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9; |
int |
getUintValCount()
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8]
[UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16]
[UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9; |
List<Integer> |
getUintValList()
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8]
[UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16]
[UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(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(ByteBuffer data) |
static Tensor |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<Tensor> |
parser() |
Tensor.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DTYPE_FIELD_NUMBER
public static final int SHAPE_FIELD_NUMBER
public static final int BOOL_VAL_FIELD_NUMBER
public static final int STRING_VAL_FIELD_NUMBER
public static final int BYTES_VAL_FIELD_NUMBER
public static final int FLOAT_VAL_FIELD_NUMBER
public static final int DOUBLE_VAL_FIELD_NUMBER
public static final int INT_VAL_FIELD_NUMBER
public static final int INT64_VAL_FIELD_NUMBER
public static final int UINT_VAL_FIELD_NUMBER
public static final int UINT64_VAL_FIELD_NUMBER
public static final int LIST_VAL_FIELD_NUMBER
public static final int STRUCT_VAL_FIELD_NUMBER
public static final int TENSOR_VAL_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getDtypeValue()
The data type of tensor.
.google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;getDtypeValue in interface TensorOrBuilderpublic Tensor.DataType getDtype()
The data type of tensor.
.google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;getDtype in interface TensorOrBuilderpublic List<Long> getShapeList()
Shape of the tensor.
repeated int64 shape = 2;getShapeList in interface TensorOrBuilderpublic int getShapeCount()
Shape of the tensor.
repeated int64 shape = 2;getShapeCount in interface TensorOrBuilderpublic long getShape(int index)
Shape of the tensor.
repeated int64 shape = 2;getShape in interface TensorOrBuilderindex - The index of the element to return.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.cloud.aiplatform.v1.Tensor.DataType.BOOL]
repeated bool bool_val = 3;getBoolValList in interface TensorOrBuilderpublic 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.cloud.aiplatform.v1.Tensor.DataType.BOOL]
repeated bool bool_val = 3;getBoolValCount in interface TensorOrBuilderpublic 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.cloud.aiplatform.v1.Tensor.DataType.BOOL]
repeated bool bool_val = 3;getBoolVal in interface TensorOrBuilderindex - The index of the element to return.public com.google.protobuf.ProtocolStringList getStringValList()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;getStringValList in interface TensorOrBuilderpublic int getStringValCount()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;getStringValCount in interface TensorOrBuilderpublic String getStringVal(int index)
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;getStringVal in interface TensorOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getStringValBytes(int index)
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;getStringValBytes in interface TensorOrBuilderindex - The index of the value to return.public List<com.google.protobuf.ByteString> getBytesValList()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;getBytesValList in interface TensorOrBuilderpublic int getBytesValCount()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;getBytesValCount in interface TensorOrBuilderpublic com.google.protobuf.ByteString getBytesVal(int index)
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;getBytesVal in interface TensorOrBuilderindex - The index of the element to return.public List<Float> getFloatValList()
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5;getFloatValList in interface TensorOrBuilderpublic int getFloatValCount()
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5;getFloatValCount in interface TensorOrBuilderpublic float getFloatVal(int index)
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5;getFloatVal in interface TensorOrBuilderindex - The index of the element to return.public List<Double> getDoubleValList()
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6;getDoubleValList in interface TensorOrBuilderpublic int getDoubleValCount()
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6;getDoubleValCount in interface TensorOrBuilderpublic double getDoubleVal(int index)
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6;getDoubleVal in interface TensorOrBuilderindex - The index of the element to return.public List<Integer> getIntValList()
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]
repeated int32 int_val = 7;getIntValList in interface TensorOrBuilderpublic int getIntValCount()
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]
repeated int32 int_val = 7;getIntValCount in interface TensorOrBuilderpublic int getIntVal(int index)
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]
repeated int32 int_val = 7;getIntVal in interface TensorOrBuilderindex - The index of the element to return.public List<Long> getInt64ValList()
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8;getInt64ValList in interface TensorOrBuilderpublic int getInt64ValCount()
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8;getInt64ValCount in interface TensorOrBuilderpublic long getInt64Val(int index)
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8;getInt64Val in interface TensorOrBuilderindex - The index of the element to return.public List<Integer> getUintValList()
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;getUintValList in interface TensorOrBuilderpublic int getUintValCount()
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;getUintValCount in interface TensorOrBuilderpublic int getUintVal(int index)
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;getUintVal in interface TensorOrBuilderindex - The index of the element to return.public List<Long> getUint64ValList()
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;getUint64ValList in interface TensorOrBuilderpublic int getUint64ValCount()
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;getUint64ValCount in interface TensorOrBuilderpublic long getUint64Val(int index)
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;getUint64Val in interface TensorOrBuilderindex - The index of the element to return.public List<Tensor> getListValList()
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;getListValList in interface TensorOrBuilderpublic List<? extends TensorOrBuilder> getListValOrBuilderList()
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;getListValOrBuilderList in interface TensorOrBuilderpublic int getListValCount()
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;getListValCount in interface TensorOrBuilderpublic Tensor getListVal(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;getListVal in interface TensorOrBuilderpublic TensorOrBuilder getListValOrBuilder(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;getListValOrBuilder in interface TensorOrBuilderpublic int getStructValCount()
TensorOrBuilderA map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;getStructValCount in interface TensorOrBuilderpublic boolean containsStructVal(String key)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;containsStructVal in interface TensorOrBuilder@Deprecated public Map<String,Tensor> getStructVal()
getStructValMap() instead.getStructVal in interface TensorOrBuilderpublic Map<String,Tensor> getStructValMap()
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;getStructValMap in interface TensorOrBuilderpublic Tensor getStructValOrDefault(String key, Tensor defaultValue)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;getStructValOrDefault in interface TensorOrBuilderpublic Tensor getStructValOrThrow(String key)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;getStructValOrThrow in interface TensorOrBuilderpublic com.google.protobuf.ByteString getTensorVal()
Serialized raw tensor content.
bytes tensor_val = 13;getTensorVal in interface TensorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Tensor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tensor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tensor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tensor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tensor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tensor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tensor parseFrom(InputStream input) throws IOException
IOExceptionpublic static Tensor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Tensor parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Tensor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Tensor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Tensor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Tensor.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Tensor.Builder newBuilder()
public static Tensor.Builder newBuilder(Tensor prototype)
public Tensor.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Tensor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Tensor getDefaultInstance()
public static com.google.protobuf.Parser<Tensor> parser()
public com.google.protobuf.Parser<Tensor> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Tensor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.