public static final class TensorInfo.CooSparse.Builder extends com.github.os72.protobuf351.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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
TensorInfo.CooSparse.Builder |
clearIndicesTensorName()
The indices Tensor must have dtype int64 and shape [?, ?].
|
TensorInfo.CooSparse.Builder |
clearOneof(com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.ByteString |
getDenseShapeTensorNameBytes()
The dynamic logical shape represented by the SparseTensor is recorded in
the Tensor referenced here.
|
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getIndicesTensorName()
The indices Tensor must have dtype int64 and shape [?, ?].
|
com.github.os72.protobuf351.ByteString |
getIndicesTensorNameBytes()
The indices Tensor must have dtype int64 and shape [?, ?].
|
String |
getValuesTensorName()
The shape of the values Tensor is [?].
|
com.github.os72.protobuf351.ByteString |
getValuesTensorNameBytes()
The shape of the values Tensor is [?].
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TensorInfo.CooSparse.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
TensorInfo.CooSparse.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
TensorInfo.CooSparse.Builder |
mergeFrom(TensorInfo.CooSparse other) |
TensorInfo.CooSparse.Builder |
mergeUnknownFields(com.github.os72.protobuf351.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(com.github.os72.protobuf351.ByteString value)
The dynamic logical shape represented by the SparseTensor is recorded in
the Tensor referenced here.
|
TensorInfo.CooSparse.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
TensorInfo.CooSparse.Builder |
setIndicesTensorName(String value)
The indices Tensor must have dtype int64 and shape [?, ?].
|
TensorInfo.CooSparse.Builder |
setIndicesTensorNameBytes(com.github.os72.protobuf351.ByteString value)
The indices Tensor must have dtype int64 and shape [?, ?].
|
TensorInfo.CooSparse.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
TensorInfo.CooSparse.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
TensorInfo.CooSparse.Builder |
setValuesTensorName(String value)
The shape of the values Tensor is [?].
|
TensorInfo.CooSparse.Builder |
setValuesTensorNameBytes(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic TensorInfo.CooSparse build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic TensorInfo.CooSparse buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic TensorInfo.CooSparse.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse.Builder mergeFrom(TensorInfo.CooSparse other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public TensorInfo.CooSparse.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.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 com.github.os72.protobuf351.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(com.github.os72.protobuf351.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 com.github.os72.protobuf351.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(com.github.os72.protobuf351.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 com.github.os72.protobuf351.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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>public final TensorInfo.CooSparse.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>Copyright © 2018. All rights reserved.