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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.Builder<TensorInfo.Builder>
public TensorInfo.Builder clear()
clear
in interface org.nd4j.shade.protobuf.Message.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>
public TensorInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public TensorInfo build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public TensorInfo buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public TensorInfo.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<TensorInfo.Builder>
IOException
public TensorInfo.EncodingCase getEncodingCase()
getEncodingCase
in interface TensorInfoOrBuilder
public TensorInfo.Builder clearEncoding()
public String getName()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;
getName
in interface TensorInfoOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;
getNameBytes
in interface TensorInfoOrBuilder
public 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 TensorInfoOrBuilder
public 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 TensorInfoOrBuilder
public 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 TensorInfoOrBuilder
public int getDtypeValue()
.tensorflow.DataType dtype = 2;
getDtypeValue
in interface TensorInfoOrBuilder
public TensorInfo.Builder setDtypeValue(int value)
.tensorflow.DataType dtype = 2;
public DataType getDtype()
.tensorflow.DataType dtype = 2;
getDtype
in interface TensorInfoOrBuilder
public 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 TensorInfoOrBuilder
public 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 TensorInfoOrBuilder
public 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 TensorInfoOrBuilder
public final TensorInfo.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.Builder>
Copyright © 2021. All rights reserved.