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

Method _control_outputs

tensorflow/python/framework/ops.py:2216–2232  ·  view source on GitHub ↗

The `Operation` objects which have a control dependency on this op. Before any of the ops in self._control_outputs can execute tensorflow will ensure self has finished executing. Returns: A list of `Operation` objects.

(self)

Source from the content-addressed store, hash-verified

2214
2215 @property
2216 def _control_outputs(self):
2217 """The `Operation` objects which have a control dependency on this op.
2218
2219 Before any of the ops in self._control_outputs can execute tensorflow will
2220 ensure self has finished executing.
2221
2222 Returns:
2223 A list of `Operation` objects.
2224
2225 """
2226 control_c_ops = c_api.TF_OperationGetControlOutputs_wrapper(self._c_op)
2227 # pylint: disable=protected-access
2228 return [
2229 self.graph._get_operation_by_name_unsafe(c_api.TF_OperationName(c_op))
2230 for c_op in control_c_ops
2231 ]
2232 # pylint: enable=protected-access
2233
2234 @property
2235 def _control_inputs(self):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected