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

Method __init__

tensorflow/python/framework/ops.py:1390–1525  ·  view source on GitHub ↗

r"""Creates an `Operation`. NOTE: This constructor validates the name of the `Operation` (passed as `node_def.name`). Valid `Operation` names match the following regular expression: [A-Za-z0-9.][A-Za-z0-9_.\\-/]* Args: node_def: `node_def_pb2.NodeDef`. `NodeDef` for

(self,
               node_def,
               g,
               inputs=None,
               output_types=None,
               control_inputs=None,
               input_types=None,
               original_op=None,
               op_def=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 12

_recompute_node_defMethod · 0.95
_create_c_opMethod · 0.95
allFunction · 0.85
_extract_stackMethod · 0.80
_next_idMethod · 0.80
TensorClass · 0.70
_add_consumerMethod · 0.45
is_compatible_withMethod · 0.45
appendMethod · 0.45
AddOpMethod · 0.45

Tested by

no test coverage detected