public static final class TensorInfo.CooSparse.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder> implements TensorInfo.CooSparseOrBuilder
For sparse tensors, The COO encoding stores a triple of values, indices, and shape.Protobuf type
tensorflow.TensorInfo.CooSparse| Modifier and Type | Method and Description |
|---|---|
TensorInfo.CooSparse.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorInfo.CooSparse |
build() |
TensorInfo.CooSparse |
buildPartial() |
TensorInfo.CooSparse.Builder |
clear() |
TensorInfo.CooSparse.Builder |
clearDenseShapeTensorName()
The dynamic logical shape represented by the SparseTensor is recorded in
the Tensor referenced here.
|
TensorInfo.CooSparse.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
TensorInfo.CooSparse.Builder |
clearIndicesTensorName()
The indices Tensor must have dtype int64 and shape [?, ?].
|
TensorInfo.CooSparse.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
TensorInfo.CooSparse.Builder |
clearValuesTensorName()
The shape of the values Tensor is [?].
|
TensorInfo.CooSparse.Builder |
clone() |
TensorInfo.CooSparse |
getDefaultInstanceForType() |
String |
getDenseShapeTensorName()
The dynamic logical shape represented by the SparseTensor is recorded in
the Tensor referenced here.
|
org.nd4j.shade.protobuf.ByteString |
getDenseShapeTensorNameBytes()
The dynamic logical shape represented by the SparseTensor is recorded in
the Tensor referenced here.
|
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getIndicesTensorName()
The indices Tensor must have dtype int64 and shape [?, ?].
|
org.nd4j.shade.protobuf.ByteString |
getIndicesTensorNameBytes()
The indices Tensor must have dtype int64 and shape [?, ?].
|
String |
getValuesTensorName()
The shape of the values Tensor is [?].
|
org.nd4j.shade.protobuf.ByteString |
getValuesTensorNameBytes()
The shape of the values Tensor is [?].
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TensorInfo.CooSparse.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorInfo.CooSparse.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
TensorInfo.CooSparse.Builder |
mergeFrom(TensorInfo.CooSparse other) |
TensorInfo.CooSparse.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
TensorInfo.CooSparse.Builder |
setDenseShapeTensorName(String value)
The dynamic logical shape represented by the SparseTensor is recorded in
the Tensor referenced here.
|
TensorInfo.CooSparse.Builder |
setDenseShapeTensorNameBytes(org.nd4j.shade.protobuf.ByteString value)
The dynamic logical shape represented by the SparseTensor is recorded in
the Tensor referenced here.
|
TensorInfo.CooSparse.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorInfo.CooSparse.Builder |
setIndicesTensorName(String value)
The indices Tensor must have dtype int64 and shape [?, ?].
|
TensorInfo.CooSparse.Builder |
setIndicesTensorNameBytes(org.nd4j.shade.protobuf.ByteString value)
The indices Tensor must have dtype int64 and shape [?, ?].
|
TensorInfo.CooSparse.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TensorInfo.CooSparse.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
TensorInfo.CooSparse.Builder |
setValuesTensorName(String value)
The shape of the values Tensor is [?].
|
TensorInfo.CooSparse.Builder |
setValuesTensorNameBytes(org.nd4j.shade.protobuf.ByteString value)
The shape of the values Tensor is [?].
|
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.CooSparse.Builder>public TensorInfo.CooSparse.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.CooSparse.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.CooSparse.Builder>public TensorInfo.CooSparse getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic TensorInfo.CooSparse build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic TensorInfo.CooSparse buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic TensorInfo.CooSparse.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.CooSparse.Builder>public TensorInfo.CooSparse.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.CooSparse.Builder>public TensorInfo.CooSparse.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.CooSparse.Builder>public TensorInfo.CooSparse.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.CooSparse.Builder>public TensorInfo.CooSparse.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.CooSparse.Builder>public TensorInfo.CooSparse.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.CooSparse.Builder>public TensorInfo.CooSparse.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.CooSparse.Builder>public TensorInfo.CooSparse.Builder mergeFrom(TensorInfo.CooSparse other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse.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.CooSparse.Builder>IOExceptionpublic String getValuesTensorName()
The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;getValuesTensorName in interface TensorInfo.CooSparseOrBuilderpublic org.nd4j.shade.protobuf.ByteString getValuesTensorNameBytes()
The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;getValuesTensorNameBytes in interface TensorInfo.CooSparseOrBuilderpublic TensorInfo.CooSparse.Builder setValuesTensorName(String value)
The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;public TensorInfo.CooSparse.Builder clearValuesTensorName()
The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;public TensorInfo.CooSparse.Builder setValuesTensorNameBytes(org.nd4j.shade.protobuf.ByteString value)
The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;public String getIndicesTensorName()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;getIndicesTensorName in interface TensorInfo.CooSparseOrBuilderpublic org.nd4j.shade.protobuf.ByteString getIndicesTensorNameBytes()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;getIndicesTensorNameBytes in interface TensorInfo.CooSparseOrBuilderpublic TensorInfo.CooSparse.Builder setIndicesTensorName(String value)
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;public TensorInfo.CooSparse.Builder clearIndicesTensorName()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;public TensorInfo.CooSparse.Builder setIndicesTensorNameBytes(org.nd4j.shade.protobuf.ByteString value)
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;public String getDenseShapeTensorName()
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;getDenseShapeTensorName in interface TensorInfo.CooSparseOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDenseShapeTensorNameBytes()
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;getDenseShapeTensorNameBytes in interface TensorInfo.CooSparseOrBuilderpublic TensorInfo.CooSparse.Builder setDenseShapeTensorName(String value)
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;public TensorInfo.CooSparse.Builder clearDenseShapeTensorName()
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;public TensorInfo.CooSparse.Builder setDenseShapeTensorNameBytes(org.nd4j.shade.protobuf.ByteString value)
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;public final TensorInfo.CooSparse.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.CooSparse.Builder>public final TensorInfo.CooSparse.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.CooSparse.Builder>Copyright © 2021. All rights reserved.