TensorInfo.CooSparse.Builder

public static final class TensorInfo.CooSparse.Builder

 For sparse tensors, The COO encoding stores a triple of values, indices,
 and shape.
 
Protobuf type tensorflow.TensorInfo.CooSparse

Public Methods

TensorInfo.CooSparse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorInfo.CooSparse
build()
TensorInfo.CooSparse
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.google.protobuf.Descriptors.FieldDescriptor field)
TensorInfo.CooSparse.Builder
clearIndicesTensorName()
 The indices Tensor must have dtype int64 and shape [?, ?].
TensorInfo.CooSparse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TensorInfo.CooSparse.Builder
clearValuesTensorName()
 The shape of the values Tensor is [?].
TensorInfo.CooSparse.Builder
clone()
TensorInfo.CooSparse
String
getDenseShapeTensorName()
 The dynamic logical shape represented by the SparseTensor is recorded in
 the Tensor referenced here.
com.google.protobuf.ByteString
getDenseShapeTensorNameBytes()
 The dynamic logical shape represented by the SparseTensor is recorded in
 the Tensor referenced here.
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getIndicesTensorName()
 The indices Tensor must have dtype int64 and shape [?, ?].
com.google.protobuf.ByteString
getIndicesTensorNameBytes()
 The indices Tensor must have dtype int64 and shape [?, ?].
String
getValuesTensorName()
 The shape of the values Tensor is [?].
com.google.protobuf.ByteString
getValuesTensorNameBytes()
 The shape of the values Tensor is [?].
final boolean
TensorInfo.CooSparse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorInfo.CooSparse.Builder
mergeFrom(com.google.protobuf.Message other)
final TensorInfo.CooSparse.Builder
mergeUnknownFields(com.google.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(com.google.protobuf.ByteString value)
 The dynamic logical shape represented by the SparseTensor is recorded in
 the Tensor referenced here.
TensorInfo.CooSparse.Builder
setField(com.google.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(com.google.protobuf.ByteString value)
 The indices Tensor must have dtype int64 and shape [?, ?].
TensorInfo.CooSparse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final TensorInfo.CooSparse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TensorInfo.CooSparse.Builder
setValuesTensorName(String value)
 The shape of the values Tensor is [?].
TensorInfo.CooSparse.Builder
setValuesTensorNameBytes(com.google.protobuf.ByteString value)
 The shape of the values Tensor is [?].

Inherited Methods

Public Methods

public TensorInfo.CooSparse.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public TensorInfo.CooSparse build ()

public TensorInfo.CooSparse buildPartial ()

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 clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public TensorInfo.CooSparse.Builder clearIndicesTensorName ()

 The indices Tensor must have dtype int64 and shape [?, ?].
 
string indices_tensor_name = 2;

public TensorInfo.CooSparse.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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 getDefaultInstanceForType ()

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;

public com.google.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;

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getIndicesTensorName ()

 The indices Tensor must have dtype int64 and shape [?, ?].
 
string indices_tensor_name = 2;

public com.google.protobuf.ByteString getIndicesTensorNameBytes ()

 The indices Tensor must have dtype int64 and shape [?, ?].
 
string indices_tensor_name = 2;

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;

public com.google.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;

public final boolean isInitialized ()

public TensorInfo.CooSparse.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public TensorInfo.CooSparse.Builder mergeFrom (com.google.protobuf.Message other)

public final TensorInfo.CooSparse.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

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 setDenseShapeTensorNameBytes (com.google.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 TensorInfo.CooSparse.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

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 setIndicesTensorNameBytes (com.google.protobuf.ByteString value)

 The indices Tensor must have dtype int64 and shape [?, ?].
 
string indices_tensor_name = 2;

public TensorInfo.CooSparse.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final TensorInfo.CooSparse.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

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 setValuesTensorNameBytes (com.google.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;