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

Method _create_op_internal

tensorflow/tensorflow/python/framework/ops.py:3359–3428  ·  view source on GitHub ↗

Creates an `Operation` in this graph. Implements `Graph.create_op()` without the overhead of the deprecation wrapper. Args: op_type: The `Operation` type to create. This corresponds to the `OpDef.name` field for the proto that defines the operation. inputs: A list o

(
      self,
      op_type,
      inputs,
      dtypes=None,  # pylint: disable=redefined-outer-name
      input_types=None,
      name=None,
      attrs=None,
      op_def=None,
      compute_device=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

create_opMethod · 0.95
_capture_by_valueMethod · 0.80
create_opMethod · 0.80

Calls 8

_check_not_finalizedMethod · 0.95
unique_nameMethod · 0.95
_mutation_lockMethod · 0.95
_create_op_helperMethod · 0.95
name_from_scope_nameFunction · 0.85
_NodeDefFunction · 0.85
OperationClass · 0.70

Tested by

no test coverage detected