tf.SparseTensorValue
tf.SparseTensorValue
class tf.SparseTensorValue
Defined in tensorflow/python/framework/sparse_tensor.py
.
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
Methods
__new__
__new__( _cls, indices, values, dense_shape )
Create new instance of SparseTensorValue(indices, values, dense_shape)
© 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