tf.raw_ops.ConvertToCooTensor | TensorFlow v2.16.1 (original) (raw)
tf.raw_ops.ConvertToCooTensor
Stay organized with collections Save and categorize content based on your preferences.
View aliases
Compat aliases for migration
SeeMigration guide for more details.
tf.compat.v1.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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.