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

Method create_op

tensorflow/tensorflow/python/framework/ops.py:3304–3357  ·  view source on GitHub ↗

Creates an `Operation` in this graph. This is a low-level interface for creating an `Operation`. Most programs will not call this method directly, and instead use the Python op constructors, such as `tf.constant()`, which add ops to the default graph. Args: op_type: The `

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testNodeDefArgsMethod · 0.95
testReferenceInputMethod · 0.95
testFinalizedMethod · 0.95
testGenerateNameMethod · 0.95
testNameScopeMethod · 0.95
testNoDeviceMethod · 0.95
testDeviceFullMethod · 0.95
testNestingMethod · 0.95
testNestingStringMethod · 0.95

Calls 2

_create_op_internalMethod · 0.95
TypeErrorFunction · 0.85

Tested by 15

testNodeDefArgsMethod · 0.76
testReferenceInputMethod · 0.76
testFinalizedMethod · 0.76
testGenerateNameMethod · 0.76
testNameScopeMethod · 0.76
testNoDeviceMethod · 0.76
testDeviceFullMethod · 0.76
testNestingMethod · 0.76
testNestingStringMethod · 0.76