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) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public int getDtypeValue()
.tensorflow.DataType dtype = 1;
getDtypeValue
in interface TensorProtoOrBuilder
public DataType getDtype()
.tensorflow.DataType dtype = 1;
getDtype
in interface TensorProtoOrBuilder
public boolean hasTensorShape()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
hasTensorShape
in interface TensorProtoOrBuilder
public TensorShapeProto getTensorShape()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
getTensorShape
in interface TensorProtoOrBuilder
public TensorShapeProtoOrBuilder getTensorShapeOrBuilder()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
getTensorShapeOrBuilder
in interface TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public List<Float> getFloatValList()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
getFloatValList
in interface TensorProtoOrBuilder
public int getFloatValCount()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
getFloatValCount
in interface TensorProtoOrBuilder
public float getFloatVal(int index)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
getFloatVal
in interface TensorProtoOrBuilder
public List<Double> getDoubleValList()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
getDoubleValList
in interface TensorProtoOrBuilder
public int getDoubleValCount()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
getDoubleValCount
in interface TensorProtoOrBuilder
public double getDoubleVal(int index)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
getDoubleVal
in interface TensorProtoOrBuilder
public List<Integer> getIntValList()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
getIntValList
in interface TensorProtoOrBuilder
public int getIntValCount()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
getIntValCount
in interface TensorProtoOrBuilder
public int getIntVal(int index)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
getIntVal
in interface TensorProtoOrBuilder
public List<org.nd4j.shade.protobuf.ByteString> getStringValList()
DT_STRING
repeated bytes string_val = 8;
getStringValList
in interface TensorProtoOrBuilder
public int getStringValCount()
DT_STRING
repeated bytes string_val = 8;
getStringValCount
in interface TensorProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getStringVal(int index)
DT_STRING
repeated bytes string_val = 8;
getStringVal
in interface TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public List<Long> getInt64ValList()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
getInt64ValList
in interface TensorProtoOrBuilder
public int getInt64ValCount()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
getInt64ValCount
in interface TensorProtoOrBuilder
public long getInt64Val(int index)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
getInt64Val
in interface TensorProtoOrBuilder
public List<Boolean> getBoolValList()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
getBoolValList
in interface TensorProtoOrBuilder
public int getBoolValCount()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
getBoolValCount
in interface TensorProtoOrBuilder
public boolean getBoolVal(int index)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
getBoolVal
in interface TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public 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 TensorProtoOrBuilder
public List<ResourceHandleProto> getResourceHandleValList()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
getResourceHandleValList
in interface TensorProtoOrBuilder
public List<? extends ResourceHandleProtoOrBuilder> getResourceHandleValOrBuilderList()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
getResourceHandleValOrBuilderList
in interface TensorProtoOrBuilder
public int getResourceHandleValCount()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
getResourceHandleValCount
in interface TensorProtoOrBuilder
public ResourceHandleProto getResourceHandleVal(int index)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
getResourceHandleVal
in interface TensorProtoOrBuilder
public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder(int index)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
getResourceHandleValOrBuilder
in interface TensorProtoOrBuilder
public List<VariantTensorDataProto> getVariantValList()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
getVariantValList
in interface TensorProtoOrBuilder
public List<? extends VariantTensorDataProtoOrBuilder> getVariantValOrBuilderList()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
getVariantValOrBuilderList
in interface TensorProtoOrBuilder
public int getVariantValCount()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
getVariantValCount
in interface TensorProtoOrBuilder
public VariantTensorDataProto getVariantVal(int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
getVariantVal
in interface TensorProtoOrBuilder
public VariantTensorDataProtoOrBuilder getVariantValOrBuilder(int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
getVariantValOrBuilder
in interface TensorProtoOrBuilder
public List<Integer> getUint32ValList()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
getUint32ValList
in interface TensorProtoOrBuilder
public int getUint32ValCount()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
getUint32ValCount
in interface TensorProtoOrBuilder
public int getUint32Val(int index)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
getUint32Val
in interface TensorProtoOrBuilder
public List<Long> getUint64ValList()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
getUint64ValList
in interface TensorProtoOrBuilder
public int getUint64ValCount()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
getUint64ValCount
in interface TensorProtoOrBuilder
public long getUint64Val(int index)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
getUint64Val
in interface TensorProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static TensorProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static TensorProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static TensorProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static TensorProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static TensorProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static TensorProto parseFrom(InputStream input) throws IOException
IOException
public static TensorProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TensorProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TensorProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TensorProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static TensorProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TensorProto.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static TensorProto.Builder newBuilder()
public static TensorProto.Builder newBuilder(TensorProto prototype)
public TensorProto.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected TensorProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public TensorProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2020. All rights reserved.