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

Method while_loop_op

tensorflow/tensorflow/python/tpu/tensor_tracer.py:256–272  ·  view source on GitHub ↗

Returns true if op is one of the special ops of in a while loop. Args: op: A tf.Operation. Returns: True if the given op is one of [Switch, Merge, Enter, Exit, NextIteration, LoopCond], which are all building blocks for TF while loops.

(op)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_skip_opMethod · 0.80
_skip_tensorMethod · 0.80

Calls 1

loop_cond_opMethod · 0.80

Tested by

no test coverage detected