public final class TensorProto extends com.google.protobuf.GeneratedMessageV3 implements TensorProtoOrBuilder
Protocol buffer representing a tensor.Protobuf type
tensorflow.TensorProto| Modifier and Type | Class and Description |
|---|---|
static class |
TensorProto.Builder
Protocol buffer representing a tensor.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BOOL_VAL_FIELD_NUMBER |
static int |
DCOMPLEX_VAL_FIELD_NUMBER |
static int |
DOUBLE_VAL_FIELD_NUMBER |
static int |
DTYPE_FIELD_NUMBER |
static int |
FLOAT_VAL_FIELD_NUMBER |
static int |
HALF_VAL_FIELD_NUMBER |
static int |
INT_VAL_FIELD_NUMBER |
static int |
INT64_VAL_FIELD_NUMBER |
static int |
RESOURCE_HANDLE_VAL_FIELD_NUMBER |
static int |
SCOMPLEX_VAL_FIELD_NUMBER |
static int |
STRING_VAL_FIELD_NUMBER |
static int |
TENSOR_CONTENT_FIELD_NUMBER |
static int |
TENSOR_SHAPE_FIELD_NUMBER |
static int |
UINT32_VAL_FIELD_NUMBER |
static int |
UINT64_VAL_FIELD_NUMBER |
static int |
VARIANT_VAL_FIELD_NUMBER |
static int |
VERSION_NUMBER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getBoolVal(int index)
DT_BOOL
|
int |
getBoolValCount()
DT_BOOL
|
java.util.List<java.lang.Boolean> |
getBoolValList()
DT_BOOL
|
double |
getDcomplexVal(int index)
DT_COMPLEX128.
|
int |
getDcomplexValCount()
DT_COMPLEX128.
|
java.util.List<java.lang.Double> |
getDcomplexValList()
DT_COMPLEX128.
|
static TensorProto |
getDefaultInstance() |
TensorProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getDoubleVal(int index)
DT_DOUBLE.
|
int |
getDoubleValCount()
DT_DOUBLE.
|
java.util.List<java.lang.Double> |
getDoubleValList()
DT_DOUBLE.
|
DataType |
getDtype()
.tensorflow.DataType dtype = 1; |
int |
getDtypeValue()
.tensorflow.DataType dtype = 1; |
float |
getFloatVal(int index)
DT_FLOAT.
|
int |
getFloatValCount()
DT_FLOAT.
|
java.util.List<java.lang.Float> |
getFloatValList()
DT_FLOAT.
|
int |
getHalfVal(int index)
DT_HALF, DT_BFLOAT16.
|
int |
getHalfValCount()
DT_HALF, DT_BFLOAT16.
|
java.util.List<java.lang.Integer> |
getHalfValList()
DT_HALF, DT_BFLOAT16.
|
long |
getInt64Val(int index)
DT_INT64
|
int |
getInt64ValCount()
DT_INT64
|
java.util.List<java.lang.Long> |
getInt64ValList()
DT_INT64
|
int |
getIntVal(int index)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
|
int |
getIntValCount()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
|
java.util.List<java.lang.Integer> |
getIntValList()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
|
com.google.protobuf.Parser<TensorProto> |
getParserForType() |
ResourceHandleProto |
getResourceHandleVal(int index)
DT_RESOURCE
|
int |
getResourceHandleValCount()
DT_RESOURCE
|
java.util.List<ResourceHandleProto> |
getResourceHandleValList()
DT_RESOURCE
|
ResourceHandleProtoOrBuilder |
getResourceHandleValOrBuilder(int index)
DT_RESOURCE
|
java.util.List<? extends ResourceHandleProtoOrBuilder> |
getResourceHandleValOrBuilderList()
DT_RESOURCE
|
float |
getScomplexVal(int index)
DT_COMPLEX64.
|
int |
getScomplexValCount()
DT_COMPLEX64.
|
java.util.List<java.lang.Float> |
getScomplexValList()
DT_COMPLEX64.
|
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getStringVal(int index)
DT_STRING
|
int |
getStringValCount()
DT_STRING
|
java.util.List<com.google.protobuf.ByteString> |
getStringValList()
DT_STRING
|
com.google.protobuf.ByteString |
getTensorContent()
Serialized raw tensor content from either Tensor::AsProtoTensorContent or
memcpy in tensorflow::grpc::EncodeTensorToByteBuffer.
|
TensorShapeProto |
getTensorShape()
Shape of the tensor.
|
TensorShapeProtoOrBuilder |
getTensorShapeOrBuilder()
Shape of the tensor.
|
int |
getUint32Val(int index)
DT_UINT32
|
int |
getUint32ValCount()
DT_UINT32
|
java.util.List<java.lang.Integer> |
getUint32ValList()
DT_UINT32
|
long |
getUint64Val(int index)
DT_UINT64
|
int |
getUint64ValCount()
DT_UINT64
|
java.util.List<java.lang.Long> |
getUint64ValList()
DT_UINT64
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
VariantTensorDataProto |
getVariantVal(int index)
DT_VARIANT
|
int |
getVariantValCount()
DT_VARIANT
|
java.util.List<VariantTensorDataProto> |
getVariantValList()
DT_VARIANT
|
VariantTensorDataProtoOrBuilder |
getVariantValOrBuilder(int index)
DT_VARIANT
|
java.util.List<? extends VariantTensorDataProtoOrBuilder> |
getVariantValOrBuilderList()
DT_VARIANT
|
int |
getVersionNumber()
Version number.
|
int |
hashCode() |
boolean |
hasTensorShape()
Shape of the tensor.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TensorProto.Builder |
newBuilder() |
static TensorProto.Builder |
newBuilder(TensorProto prototype) |
TensorProto.Builder |
newBuilderForType() |
protected TensorProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TensorProto |
parseDelimitedFrom(java.io.InputStream input) |
static TensorProto |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorProto |
parseFrom(byte[] data) |
static TensorProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorProto |
parseFrom(java.nio.ByteBuffer data) |
static TensorProto |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorProto |
parseFrom(com.google.protobuf.ByteString data) |
static TensorProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TensorProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorProto |
parseFrom(java.io.InputStream input) |
static TensorProto |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TensorProto> |
parser() |
TensorProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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 TENSOR_SHAPE_FIELD_NUMBER
public static final int VERSION_NUMBER_FIELD_NUMBER
public static final int TENSOR_CONTENT_FIELD_NUMBER
public static final int HALF_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 STRING_VAL_FIELD_NUMBER
public static final int SCOMPLEX_VAL_FIELD_NUMBER
public static final int INT64_VAL_FIELD_NUMBER
public static final int BOOL_VAL_FIELD_NUMBER
public static final int DCOMPLEX_VAL_FIELD_NUMBER
public static final int RESOURCE_HANDLE_VAL_FIELD_NUMBER
public static final int VARIANT_VAL_FIELD_NUMBER
public static final int UINT32_VAL_FIELD_NUMBER
public static final int UINT64_VAL_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getDtypeValue()
.tensorflow.DataType dtype = 1;getDtypeValue in interface TensorProtoOrBuilderpublic DataType getDtype()
.tensorflow.DataType dtype = 1;getDtype in interface TensorProtoOrBuilderpublic boolean hasTensorShape()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;hasTensorShape in interface TensorProtoOrBuilderpublic TensorShapeProto getTensorShape()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;getTensorShape in interface TensorProtoOrBuilderpublic TensorShapeProtoOrBuilder getTensorShapeOrBuilder()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;getTensorShapeOrBuilder in interface TensorProtoOrBuilderpublic int getVersionNumber()
Version number. In version 0, if the "repeated xxx" representations contain only one element, that element is repeated to fill the shape. This makes it easy to represent a constant Tensor with a single value.
int32 version_number = 3;getVersionNumber in interface TensorProtoOrBuilderpublic com.google.protobuf.ByteString getTensorContent()
Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. This representation can be used for all tensor types. The purpose of this representation is to reduce serialization overhead during RPC call by avoiding serialization of many repeated small items.
bytes tensor_content = 4;getTensorContent in interface TensorProtoOrBuilderpublic java.util.List<java.lang.Integer> getHalfValList()
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];getHalfValList in interface TensorProtoOrBuilderpublic int getHalfValCount()
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];getHalfValCount in interface TensorProtoOrBuilderpublic int getHalfVal(int index)
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];getHalfVal in interface TensorProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Float> getFloatValList()
DT_FLOAT.
repeated float float_val = 5 [packed = true];getFloatValList in interface TensorProtoOrBuilderpublic int getFloatValCount()
DT_FLOAT.
repeated float float_val = 5 [packed = true];getFloatValCount in interface TensorProtoOrBuilderpublic float getFloatVal(int index)
DT_FLOAT.
repeated float float_val = 5 [packed = true];getFloatVal in interface TensorProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Double> getDoubleValList()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];getDoubleValList in interface TensorProtoOrBuilderpublic int getDoubleValCount()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];getDoubleValCount in interface TensorProtoOrBuilderpublic double getDoubleVal(int index)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];getDoubleVal in interface TensorProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Integer> getIntValList()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];getIntValList in interface TensorProtoOrBuilderpublic int getIntValCount()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];getIntValCount in interface TensorProtoOrBuilderpublic int getIntVal(int index)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];getIntVal in interface TensorProtoOrBuilderindex - The index of the element to return.public java.util.List<com.google.protobuf.ByteString> getStringValList()
DT_STRING
repeated bytes string_val = 8;getStringValList in interface TensorProtoOrBuilderpublic int getStringValCount()
DT_STRING
repeated bytes string_val = 8;getStringValCount in interface TensorProtoOrBuilderpublic com.google.protobuf.ByteString getStringVal(int index)
DT_STRING
repeated bytes string_val = 8;getStringVal in interface TensorProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Float> getScomplexValList()
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];getScomplexValList in interface TensorProtoOrBuilderpublic int getScomplexValCount()
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];getScomplexValCount in interface TensorProtoOrBuilderpublic float getScomplexVal(int index)
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];getScomplexVal in interface TensorProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Long> getInt64ValList()
DT_INT64
repeated int64 int64_val = 10 [packed = true];getInt64ValList in interface TensorProtoOrBuilderpublic int getInt64ValCount()
DT_INT64
repeated int64 int64_val = 10 [packed = true];getInt64ValCount in interface TensorProtoOrBuilderpublic long getInt64Val(int index)
DT_INT64
repeated int64 int64_val = 10 [packed = true];getInt64Val in interface TensorProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Boolean> getBoolValList()
DT_BOOL
repeated bool bool_val = 11 [packed = true];getBoolValList in interface TensorProtoOrBuilderpublic int getBoolValCount()
DT_BOOL
repeated bool bool_val = 11 [packed = true];getBoolValCount in interface TensorProtoOrBuilderpublic boolean getBoolVal(int index)
DT_BOOL
repeated bool bool_val = 11 [packed = true];getBoolVal in interface TensorProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Double> getDcomplexValList()
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];getDcomplexValList in interface TensorProtoOrBuilderpublic int getDcomplexValCount()
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];getDcomplexValCount in interface TensorProtoOrBuilderpublic double getDcomplexVal(int index)
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];getDcomplexVal in interface TensorProtoOrBuilderindex - The index of the element to return.public java.util.List<ResourceHandleProto> getResourceHandleValList()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;getResourceHandleValList in interface TensorProtoOrBuilderpublic java.util.List<? extends ResourceHandleProtoOrBuilder> getResourceHandleValOrBuilderList()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;getResourceHandleValOrBuilderList in interface TensorProtoOrBuilderpublic int getResourceHandleValCount()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;getResourceHandleValCount in interface TensorProtoOrBuilderpublic ResourceHandleProto getResourceHandleVal(int index)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;getResourceHandleVal in interface TensorProtoOrBuilderpublic ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder(int index)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;getResourceHandleValOrBuilder in interface TensorProtoOrBuilderpublic java.util.List<VariantTensorDataProto> getVariantValList()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;getVariantValList in interface TensorProtoOrBuilderpublic java.util.List<? extends VariantTensorDataProtoOrBuilder> getVariantValOrBuilderList()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;getVariantValOrBuilderList in interface TensorProtoOrBuilderpublic int getVariantValCount()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;getVariantValCount in interface TensorProtoOrBuilderpublic VariantTensorDataProto getVariantVal(int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;getVariantVal in interface TensorProtoOrBuilderpublic VariantTensorDataProtoOrBuilder getVariantValOrBuilder(int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;getVariantValOrBuilder in interface TensorProtoOrBuilderpublic java.util.List<java.lang.Integer> getUint32ValList()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];getUint32ValList in interface TensorProtoOrBuilderpublic int getUint32ValCount()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];getUint32ValCount in interface TensorProtoOrBuilderpublic int getUint32Val(int index)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];getUint32Val in interface TensorProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Long> getUint64ValList()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];getUint64ValList in interface TensorProtoOrBuilderpublic int getUint64ValCount()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];getUint64ValCount in interface TensorProtoOrBuilderpublic long getUint64Val(int index)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];getUint64Val in interface TensorProtoOrBuilderindex - The index of the element to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.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 TensorProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TensorProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TensorProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TensorProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TensorProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TensorProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic TensorProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TensorProto.Builder newBuilder()
public static TensorProto.Builder newBuilder(TensorProto prototype)
public TensorProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TensorProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TensorProto getDefaultInstance()
public static com.google.protobuf.Parser<TensorProto> parser()
public com.google.protobuf.Parser<TensorProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TensorProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder