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

Method _add_op

tensorflow/tensorflow/python/framework/ops.py:3000–3024  ·  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 1

__init__Method · 0.45

Calls 3

_check_not_finalizedMethod · 0.95
TypeErrorFunction · 0.85
maxFunction · 0.50

Tested by

no test coverage detected