public static final class TensorInfo.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder> implements TensorInfoOrBuilder
Information about a Tensor necessary for feeding or retrieval.Protobuf type
tensorflow.TensorInfo| Modifier and Type | Method and Description |
|---|---|
TensorInfo.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorInfo |
build() |
TensorInfo |
buildPartial() |
TensorInfo.Builder |
clear() |
TensorInfo.Builder |
clearCooSparse()
There are many possible encodings of sparse matrices
(https://en.wikipedia.org/wiki/Sparse_matrix).
|
TensorInfo.Builder |
clearDtype()
.tensorflow.DataType dtype = 2; |
TensorInfo.Builder |
clearEncoding() |
TensorInfo.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
TensorInfo.Builder |
clearName()
For dense `Tensor`s, the name of the tensor in the graph.
|
TensorInfo.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
TensorInfo.Builder |
clearTensorShape()
The static shape should be recorded here, to the extent that it can
be known in advance.
|
TensorInfo.Builder |
clone() |
TensorInfo.CooSparse |
getCooSparse()
There are many possible encodings of sparse matrices
(https://en.wikipedia.org/wiki/Sparse_matrix).
|
TensorInfo.CooSparse.Builder |
getCooSparseBuilder()
There are many possible encodings of sparse matrices
(https://en.wikipedia.org/wiki/Sparse_matrix).
|
TensorInfo.CooSparseOrBuilder |
getCooSparseOrBuilder()
There are many possible encodings of sparse matrices
(https://en.wikipedia.org/wiki/Sparse_matrix).
|
TensorInfo |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DataType |
getDtype()
.tensorflow.DataType dtype = 2; |
int |
getDtypeValue()
.tensorflow.DataType dtype = 2; |
TensorInfo.EncodingCase |
getEncodingCase() |
String |
getName()
For dense `Tensor`s, the name of the tensor in the graph.
|
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
For dense `Tensor`s, the name of the tensor in the graph.
|
TensorShapeProto |
getTensorShape()
The static shape should be recorded here, to the extent that it can
be known in advance.
|
TensorShapeProto.Builder |
getTensorShapeBuilder()
The static shape should be recorded here, to the extent that it can
be known in advance.
|
TensorShapeProtoOrBuilder |
getTensorShapeOrBuilder()
The static shape should be recorded here, to the extent that it can
be known in advance.
|
boolean |
hasCooSparse()
There are many possible encodings of sparse matrices
(https://en.wikipedia.org/wiki/Sparse_matrix).
|
boolean |
hasTensorShape()
The static shape should be recorded here, to the extent that it can
be known in advance.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TensorInfo.Builder |
mergeCooSparse(TensorInfo.CooSparse value)
There are many possible encodings of sparse matrices
(https://en.wikipedia.org/wiki/Sparse_matrix).
|
TensorInfo.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
TensorInfo.Builder |
mergeFrom(TensorInfo other) |
TensorInfo.Builder |
mergeTensorShape(TensorShapeProto value)
The static shape should be recorded here, to the extent that it can
be known in advance.
|
TensorInfo.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
TensorInfo.Builder |
setCooSparse(TensorInfo.CooSparse.Builder builderForValue)
There are many possible encodings of sparse matrices
(https://en.wikipedia.org/wiki/Sparse_matrix).
|
TensorInfo.Builder |
setCooSparse(TensorInfo.CooSparse value)
There are many possible encodings of sparse matrices
(https://en.wikipedia.org/wiki/Sparse_matrix).
|
TensorInfo.Builder |
setDtype(DataType value)
.tensorflow.DataType dtype = 2; |
TensorInfo.Builder |
setDtypeValue(int value)
.tensorflow.DataType dtype = 2; |
TensorInfo.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorInfo.Builder |
setName(String value)
For dense `Tensor`s, the name of the tensor in the graph.
|
TensorInfo.Builder |
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
For dense `Tensor`s, the name of the tensor in the graph.
|
TensorInfo.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TensorInfo.Builder |
setTensorShape(TensorShapeProto.Builder builderForValue)
The static shape should be recorded here, to the extent that it can
be known in advance.
|
TensorInfo.Builder |
setTensorShape(TensorShapeProto value)
The static shape should be recorded here, to the extent that it can
be known in advance.
|
TensorInfo.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builder<TensorInfo.Builder>public TensorInfo.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>public TensorInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic TensorInfo build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic TensorInfo buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic TensorInfo.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>public TensorInfo.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>public TensorInfo.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>public TensorInfo.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>public TensorInfo.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>public TensorInfo.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>public TensorInfo.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<TensorInfo.Builder>public TensorInfo.Builder mergeFrom(TensorInfo other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>public TensorInfo.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<TensorInfo.Builder>IOExceptionpublic TensorInfo.EncodingCase getEncodingCase()
getEncodingCase in interface TensorInfoOrBuilderpublic TensorInfo.Builder clearEncoding()
public String getName()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;getName in interface TensorInfoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getNameBytes()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;getNameBytes in interface TensorInfoOrBuilderpublic TensorInfo.Builder setName(String value)
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;public TensorInfo.Builder clearName()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;public TensorInfo.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;public boolean hasCooSparse()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;hasCooSparse in interface TensorInfoOrBuilderpublic TensorInfo.CooSparse getCooSparse()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;getCooSparse in interface TensorInfoOrBuilderpublic TensorInfo.Builder setCooSparse(TensorInfo.CooSparse value)
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;public TensorInfo.Builder setCooSparse(TensorInfo.CooSparse.Builder builderForValue)
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;public TensorInfo.Builder mergeCooSparse(TensorInfo.CooSparse value)
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;public TensorInfo.Builder clearCooSparse()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;public TensorInfo.CooSparse.Builder getCooSparseBuilder()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;public TensorInfo.CooSparseOrBuilder getCooSparseOrBuilder()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;getCooSparseOrBuilder in interface TensorInfoOrBuilderpublic int getDtypeValue()
.tensorflow.DataType dtype = 2;getDtypeValue in interface TensorInfoOrBuilderpublic TensorInfo.Builder setDtypeValue(int value)
.tensorflow.DataType dtype = 2;public DataType getDtype()
.tensorflow.DataType dtype = 2;getDtype in interface TensorInfoOrBuilderpublic TensorInfo.Builder setDtype(DataType value)
.tensorflow.DataType dtype = 2;public TensorInfo.Builder clearDtype()
.tensorflow.DataType dtype = 2;public boolean hasTensorShape()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;hasTensorShape in interface TensorInfoOrBuilderpublic TensorShapeProto getTensorShape()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;getTensorShape in interface TensorInfoOrBuilderpublic TensorInfo.Builder setTensorShape(TensorShapeProto value)
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;public TensorInfo.Builder setTensorShape(TensorShapeProto.Builder builderForValue)
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;public TensorInfo.Builder mergeTensorShape(TensorShapeProto value)
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;public TensorInfo.Builder clearTensorShape()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;public TensorShapeProto.Builder getTensorShapeBuilder()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;public TensorShapeProtoOrBuilder getTensorShapeOrBuilder()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;getTensorShapeOrBuilder in interface TensorInfoOrBuilderpublic final TensorInfo.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>public final TensorInfo.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>Copyright © 2021. All rights reserved.