MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / _add_op

Method _add_op

tensorflow/python/framework/ops.py:2628–2652  ·  view source on GitHub ↗

Adds 'op' to the graph. Args: op: the Operator or Tensor to add. Raises: TypeError: if op is not an Operation or Tensor. ValueError: if the op.name or op._id are already used.

(self, op)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

create_opMethod · 0.95
copy_op_handlerFunction · 0.45
copy_op_to_graphFunction · 0.45

Calls 2

_check_not_finalizedMethod · 0.95
maxFunction · 0.85

Tested by

no test coverage detected