tf.SparseTensor
  • References/Big Data/TensorFlow/TensorFlow Python/Sparse Tensors

class tf.SparseTensor Represents a sparse tensor. TensorFlow represents a sparse tensor as three

2025-01-10 15:47:30
tf.SparseTensor.
  • References/Big Data/TensorFlow/TensorFlow Python/Sparse Tensors

tf.SparseTensor.__init__(indices, values, shape) Creates a SparseTensor. Args:

2025-01-10 15:47:30
tf.SparseTensor.
  • References/Big Data/TensorFlow/TensorFlow Python/Sparse Tensors

tf.SparseTensor.__str__()

2025-01-10 15:47:30
tf.SparseTensor.
  • References/Big Data/TensorFlow/TensorFlow Python/Sparse Tensors

tf.SparseTensor.__truediv__(sp_x, y) Internal helper function for 'sp_t / dense_t'.

2025-01-10 15:47:30
tf.SparseTensor.from_value()
  • References/Big Data/TensorFlow/TensorFlow Python/Sparse Tensors

tf.SparseTensor.from_value(cls, sparse_tensor_value)

2025-01-10 15:47:30
tf.sparse_to_dense()
  • References/Big Data/TensorFlow/TensorFlow Python/Sparse Tensors

tf.sparse_to_dense(sparse_indices, output_shape, sparse_values, default_value=0, validate_indices=True, name=None) Converts a

2025-01-10 15:47:30
tf.SparseTensor.graph
  • References/Big Data/TensorFlow/TensorFlow Python/Sparse Tensors

tf.SparseTensor.graph The Graph that contains the index, value, and shape tensors.

2025-01-10 15:47:30
tf.SparseTensor.eval()
  • References/Big Data/TensorFlow/TensorFlow Python/Sparse Tensors

tf.SparseTensor.eval(feed_dict=None, session=None) Evaluates this sparse tensor in a Session.

2025-01-10 15:47:30
tf.SparseTensor.
  • References/Big Data/TensorFlow/TensorFlow Python/Sparse Tensors

tf.SparseTensor.__mul__(sp_x, y) Component-wise multiplies a SparseTensor by a dense Tensor. The

2025-01-10 15:47:30
tf.SparseTensorValue.shape
  • References/Big Data/TensorFlow/TensorFlow Python/Sparse Tensors

tf.SparseTensorValue.shape Alias for field number 2

2025-01-10 15:47:30