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

Method OuterBody

tensorflow/python/kernel_tests/while_v2_test.py:569–575  ·  view source on GitHub ↗
(i, x)

Source from the content-addressed store, hash-verified

567 return MidBody
568
569 def OuterBody(i, x):
570 iterations = array_ops.size(p, name="iterations")
571 return (i + 1, x + control_flow_ops.while_loop(
572 lambda *_: True,
573 MidBodyBuilder(iterations), (0, x),
574 maximum_iterations=iterations,
575 name="mid")[1])
576
577 def CreateWhileLoop():
578 with ops.device("/cpu:0"):

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
while_loopMethod · 0.45

Tested by

no test coverage detected