tf.raw_ops.ConvertToCooTensor
tf.raw_ops.ConvertToCooTensor(
indices_or_row_splits, values, weights, sample_count, combiner, name=None
)
| Args |
indices_or_row_splits | A Tensor of type int32. |
values | A Tensor of type int32. |
weights | A Tensor of type float32. |
sample_count | An int that is >= 1. |
combiner | A string. |
name | A name for the operation (optional). |
| Returns |
A tuple of Tensor objects (row_ids, col_ids, gains). |
row_ids | A Tensor of type int32. |
col_ids | A Tensor of type int32. |
gains | A Tensor of type float32. |