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

Method _add_control_input

tensorflow/tensorflow/python/framework/ops.py:2089–2101  ·  view source on GitHub ↗

Add a new control input to this operation. Args: op: the Operation to add as control input. Raises: TypeError: if op is not an Operation. ValueError: if op is from a different graph.

(self, op)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

AddOpMethod · 0.80
_trace_executionMethod · 0.80
forward_syncMethod · 0.80
grad_syncMethod · 0.80
AddForwardAccumulatorMethod · 0.80
_AddOpInternalMethod · 0.80
_AddOpInternalMethod · 0.80
AddForwardLoopCounterMethod · 0.80
_BuildLoopMethod · 0.80

Calls 1

TypeErrorFunction · 0.85

Tested by 3

testAddControlInputMethod · 0.64
testControlInputCycleMethod · 0.64
testMethod · 0.64