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

Function eval

tensorflow/tensorflow/python/keras/backend.py:1247–1265  ·  view source on GitHub ↗

Evaluates the value of a variable. Arguments: x: A variable. Returns: A Numpy array. Examples: ```python >>> from keras import backend as K >>> kvar = K.variable(np.array([[1, 2], [3, 4]]), dtype='float32') >>> K.eval(kvar) array([[ 1., 2.], [ 3., 4.]], dtyp

(x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

testReprMethod · 0.85
evaluateMethod · 0.85
TESTFunction · 0.85

Calls 2

get_valueFunction · 0.85
to_denseFunction · 0.85

Tested by 2

testReprMethod · 0.68
TESTFunction · 0.68