public final class TensorProto extends org.nd4j.shade.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.
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.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(Object obj) |
boolean |
getBoolVal(int index)
DT_BOOL
|
int |
getBoolValCount()
DT_BOOL
|
List<Boolean> |
getBoolValList()
DT_BOOL
|
double |
getDcomplexVal(int index)
DT_COMPLEX128.
|
int |
getDcomplexValCount()
DT_COMPLEX128.
|
List<Double> |
getDcomplexValList()
DT_COMPLEX128.
|
static TensorProto |
getDefaultInstance() |
TensorProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getDoubleVal(int index)
DT_DOUBLE.
|
int |
getDoubleValCount()
DT_DOUBLE.
|
List<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.
|
List<Float> |
getFloatValList()
DT_FLOAT.
|
int |
getHalfVal(int index)
DT_HALF, DT_BFLOAT16.
|
int |
getHalfValCount()
DT_HALF, DT_BFLOAT16.
|
List<Integer> |
getHalfValList()
DT_HALF, DT_BFLOAT16.
|
long |
getInt64Val(int index)
DT_INT64
|
int |
getInt64ValCount()
DT_INT64
|
List<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.
|
List<Integer> |
getIntValList()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
|
org.nd4j.shade.protobuf.Parser<TensorProto> |
getParserForType() |
ResourceHandleProto |
getResourceHandleVal(int index)
DT_RESOURCE
|
int |
getResourceHandleValCount()
DT_RESOURCE
|
List<ResourceHandleProto> |
getResourceHandleValList()
DT_RESOURCE
|
ResourceHandleProtoOrBuilder |
getResourceHandleValOrBuilder(int index)
DT_RESOURCE
|
List<? extends ResourceHandleProtoOrBuilder> |
getResourceHandleValOrBuilderList()
DT_RESOURCE
|
float |
getScomplexVal(int index)
DT_COMPLEX64.
|
int |
getScomplexValCount()
DT_COMPLEX64.
|
List<Float> |
getScomplexValList()
DT_COMPLEX64.
|
int |
getSerializedSize() |
org.nd4j.shade.protobuf.ByteString |
getStringVal(int index)
DT_STRING
|
int |
getStringValCount()
DT_STRING
|
List<org.nd4j.shade.protobuf.ByteString> |
getStringValList()
DT_STRING
|
org.nd4j.shade.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
|
List<Integer> |
getUint32ValList()
DT_UINT32
|
long |
getUint64Val(int index)
DT_UINT64
|
int |
getUint64ValCount()
DT_UINT64
|
List<Long> |
getUint64ValList()
DT_UINT64
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
VariantTensorDataProto |
getVariantVal(int index)
DT_VARIANT
|
int |
getVariantValCount()
DT_VARIANT
|
List<VariantTensorDataProto> |
getVariantValList()
DT_VARIANT
|
VariantTensorDataProtoOrBuilder |
getVariantValOrBuilder(int index)
DT_VARIANT
|
List<? extends VariantTensorDataProtoOrBuilder> |
getVariantValOrBuilderList()
DT_VARIANT
|
int |
getVersionNumber()
Version number.
|
int |
hashCode() |
boolean |
hasTensorShape()
Shape of the tensor.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TensorProto.Builder |
newBuilder() |
static TensorProto.Builder |
newBuilder(TensorProto prototype) |
TensorProto.Builder |
newBuilderForType() |
protected TensorProto.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TensorProto |
parseDelimitedFrom(InputStream input) |
static TensorProto |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorProto |
parseFrom(byte[] data) |
static TensorProto |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorProto |
parseFrom(ByteBuffer data) |
static TensorProto |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static TensorProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static TensorProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorProto |
parseFrom(InputStream input) |
static TensorProto |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<TensorProto> |
parser() |
TensorProto.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.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 Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.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 org.nd4j.shade.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 List<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 TensorProtoOrBuilderpublic List<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 TensorProtoOrBuilderpublic List<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 TensorProtoOrBuilderpublic List<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 TensorProtoOrBuilderpublic List<org.nd4j.shade.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 org.nd4j.shade.protobuf.ByteString getStringVal(int index)
DT_STRING
repeated bytes string_val = 8;getStringVal in interface TensorProtoOrBuilderpublic List<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 TensorProtoOrBuilderpublic List<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 TensorProtoOrBuilderpublic List<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 TensorProtoOrBuilderpublic List<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 TensorProtoOrBuilderpublic List<ResourceHandleProto> getResourceHandleValList()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;getResourceHandleValList in interface TensorProtoOrBuilderpublic 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 List<VariantTensorDataProto> getVariantValList()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;getVariantValList in interface TensorProtoOrBuilderpublic 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 List<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 TensorProtoOrBuilderpublic List<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 TensorProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static TensorProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static TensorProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static TensorProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TensorProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TensorProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TensorProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TensorProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TensorProto.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static TensorProto.Builder newBuilder()
public static TensorProto.Builder newBuilder(TensorProto prototype)
public TensorProto.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected TensorProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static TensorProto getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<TensorProto> parser()
public org.nd4j.shade.protobuf.Parser<TensorProto> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public TensorProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.