tf.raw_ops.ConvertToSparseCoreCsrWrappedCooTensor
Stay organized with collections
Save and categorize content based on your preferences.
tf.raw_ops.ConvertToSparseCoreCsrWrappedCooTensor(
sorted_row_ids_list,
sorted_col_ids_list,
sorted_gains_list,
id_counts_list,
splits,
sample_count_per_sc,
num_replica,
max_minibatches_per_sc,
max_ids_per_chip_per_sample,
table_vocab_size,
feature_width,
table_name,
allow_id_dropping,
name=None
)
Args |
sorted_row_ids_list
|
A list of at least 1 Tensor objects with type int32.
|
sorted_col_ids_list
|
A list with the same length as sorted_row_ids_list of Tensor objects with type int32.
|
sorted_gains_list
|
A list with the same length as sorted_row_ids_list of Tensor objects with type float32.
|
id_counts_list
|
A list with the same length as sorted_row_ids_list of Tensor objects with type int32.
|
splits
|
A Tensor of type int64.
|
sample_count_per_sc
|
An int that is >= 1.
|
num_replica
|
An int that is >= 1.
|
max_minibatches_per_sc
|
An int that is >= 1.
|
max_ids_per_chip_per_sample
|
An int that is >= 1.
|
table_vocab_size
|
An int that is >= 1.
|
feature_width
|
An int that is >= 1.
|
table_name
|
A string.
|
allow_id_dropping
|
A bool.
|
name
|
A name for the operation (optional).
|
Returns |
A tuple of Tensor objects (row_pointers, sorted_sample_ids, sorted_token_ids, sorted_gains, row_pointers_unpadded_size, ids_unpadded_size, num_minibatches_per_sc).
|
row_pointers
|
A Tensor of type int32.
|
sorted_sample_ids
|
A Tensor of type int32.
|
sorted_token_ids
|
A Tensor of type int32.
|
sorted_gains
|
A Tensor of type float32.
|
row_pointers_unpadded_size
|
A Tensor of type int32.
|
ids_unpadded_size
|
A Tensor of type int32.
|
num_minibatches_per_sc
|
A Tensor of type int32.
|
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 2026-10-31 UTC.
[null,null,["Last updated 2026-10-31 UTC."],[],[]]