Returns the number of nonzeroes of sparse_matrix.
tf.raw_ops.SparseMatrixNNZ(
sparse_matrix, name=None
)
Args | |
|---|---|
sparse_matrix
|
A Tensor of type variant. A CSRSparseMatrix.
|
name
|
A name for the operation (optional). |
Returns | |
|---|---|
A Tensor of type int32.
|