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

Function _NodeDef

tensorflow/python/framework/ops.py:1335–1361  ·  view source on GitHub ↗

Create a NodeDef proto. Args: op_type: Value for the "op" attribute of the NodeDef proto. name: Value for the "name" attribute of the NodeDef proto. device: string, device, or function from NodeDef to string. Value for the "device" attribute of the NodeDef proto. attrs: Opti

(op_type, name, device=None, attrs=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

create_opMethod · 0.85

Calls 3

_device_stringFunction · 0.85
deviceFunction · 0.70
CopyFromMethod · 0.45

Tested by

no test coverage detected