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, 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 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.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>
public TensorInfo.CooSparse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public TensorInfo.CooSparse build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public TensorInfo.CooSparse buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public TensorInfo.CooSparse.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<TensorInfo.CooSparse.Builder>
IOException
public 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.CooSparseOrBuilder
public 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.CooSparseOrBuilder
public 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.CooSparseOrBuilder
public com.github.os72.protobuf351.ByteString getIndicesTensorNameBytes()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;
getIndicesTensorNameBytes
in interface TensorInfo.CooSparseOrBuilder
public 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.CooSparseOrBuilder
public 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.CooSparseOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorInfo.CooSparse.Builder>
Copyright © 2019. All rights reserved.