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

Function while_loop

tensorflow/tensorflow/python/ops/while_v2.py:60–323  ·  view source on GitHub ↗

Like tf.while_loop, except emits a single While op.

(cond,
               body,
               loop_vars,
               shape_invariants=None,
               parallel_iterations=10,
               maximum_iterations=None,
               name=None,
               return_same_structure=True,
               back_prop=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

build_test_graphMethod · 0.50

Calls 15

_tensor_array_to_flowFunction · 0.85
_check_shapes_compatFunction · 0.85
_copy_handle_dataFunction · 0.85
tupleFunction · 0.85
_pack_sequence_asFunction · 0.85
get_operationsMethod · 0.80
_set_attrMethod · 0.80
_get_intermediatesFunction · 0.70
sliceFunction · 0.70

Tested by 2

build_test_graphMethod · 0.40