MCPcopy Create free account
hub / github.com/alibaba/nann / _convert_sparse

Method _convert_sparse

tensorflow/tensorflow/python/ops/parallel_for/pfor.py:1140–1186  ·  view source on GitHub ↗

Returns the converted value corresponding to SparseTensor y. For SparseTensors, instead of stacking the component tensors separately, resulting in component tensors with shapes (N, m, rank), (N, m), and (N, rank) respectively for indices, values, and dense_shape (where N is the loop

(self, y)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

convertMethod · 0.95

Calls 5

_convert_helperMethod · 0.95
_unwrap_or_tileMethod · 0.95
allFunction · 0.85
anyFunction · 0.85

Tested by

no test coverage detected