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

Function _MaybeDevice

tensorflow/python/framework/importer.py:141–147  ·  view source on GitHub ↗

Applies the given device only if device is not None or empty.

(device)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

import_graph_defFunction · 0.85

Calls 1

deviceMethod · 0.45

Tested by

no test coverage detected