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

Function b

tensorflow/python/ops/linalg/linalg_impl.py:333–335  ·  view source on GitHub ↗
(i, r)

Source from the content-addressed store, hash-verified

331 c = lambda i, r: math_ops.less(i, max_squarings)
332
333 def b(i, r):
334 return i + 1, array_ops.where(
335 math_ops.less(i, squarings), math_ops.matmul(r, r), r)
336
337 _, result = control_flow_ops.while_loop(c, b, [i, result])
338 if not matrix.shape.is_fully_defined():

Callers 15

_py_lazy_andFunction · 0.50
_py_lazy_orFunction · 0.50
ExecuteMethod · 0.50
MakeElementGeneratorMethod · 0.50
MulMethod · 0.50
AddMethod · 0.50
ComputeOffsetPointerMethod · 0.50
LoadVectorMethod · 0.50
LoadScalarMethod · 0.50
StoreVectorMethod · 0.50

Calls 1

matmulMethod · 0.45

Tested by 5

CheckMatrixMultiplyFunction · 0.40
XLA_TEST_FFunction · 0.40
TEST_FFunction · 0.40