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

Function to_dense

tensorflow/tensorflow/python/keras/backend.py:709–732  ·  view source on GitHub ↗

Converts a sparse tensor into a dense tensor and returns it. Arguments: tensor: A tensor instance (potentially sparse). Returns: A dense tensor. Examples: ```python >>> from keras import backend as K >>> b = K.placeholder((2, 2), sparse=True) >>> print(K.is_sparse(b))

(tensor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

evalFunction · 0.85
concatenateFunction · 0.85

Calls 1

is_sparseFunction · 0.70

Tested by

no test coverage detected