MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / sq

Method sq

tensorflow/python/eager/function_test.py:322–323  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

320
321 @def_function.function
322 def sq(a):
323 return matmul(a, a)
324
325 t = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
326 out = sq(t)

Callers

nothing calls this directly

Calls 2

matmulFunction · 0.50
constantMethod · 0.45

Tested by

no test coverage detected