Searched refs:dense_to_sparse (Results 1 – 2 of 2) sorted by relevance
1538 def dense_to_sparse(tensor, eos_token=0, outputs_collections=None, scope=None): function
1344 sparse = _layers.dense_to_sparse(tensor)