W3cubDocs

/TensorFlow Python

tf.SparseTensorValue

class tf.SparseTensorValue

See the guide: Sparse Tensors > Sparse Tensor Representation

SparseTensorValue(indices, values, dense_shape)

Properties

dense_shape

Alias for field number 2

indices

Alias for field number 0

values

Alias for field number 1

Class Members

__init__

count

index

Defined in tensorflow/python/framework/sparse_tensor.py.

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/SparseTensorValue