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

Function eye

tensorflow/tensorflow/python/keras/backend.py:1344–1369  ·  view source on GitHub ↗

Instantiate an identity matrix and returns it. Arguments: size: Integer, number of rows/columns. dtype: String, data type of returned Keras variable. name: String, name of returned Keras variable. Returns: A Keras variable, an identity matrix. Example: ```python

(size, dtype=None, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ComputeAsyncMethod · 0.50
ComputeAsyncMethod · 0.50

Calls 2

floatxFunction · 0.85
variableFunction · 0.70

Tested by

no test coverage detected