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

Method create_op

tensorflow/python/framework/ops.py:2902–3049  ·  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,  # 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 15

_check_not_finalizedMethod · 0.95
unique_nameMethod · 0.95
_add_opMethod · 0.95
_set_deviceMethod · 0.95
_name_from_scope_nameFunction · 0.85
_NodeDefFunction · 0.85
set_shapes_for_outputsFunction · 0.85
itemsMethod · 0.80
extendMethod · 0.80

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