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

Function num_gpus

tensorflow/python/eager/context.py:454–460  ·  view source on GitHub ↗

Get the number of available GPU devices. Returns: The number of available GPU devices.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

contextFunction · 0.85
num_gpusMethod · 0.80

Tested by

no test coverage detected