MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / current_device

Function current_device

tensorflow/python/eager/core_test.py:65–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64
65def current_device():
66 return constant_op.constant(1.).device
67
68
69def configure_virtual_cpus():

Callers 2

testReEntrantMethod · 0.85

Calls 1

constantMethod · 0.45

Tested by

no test coverage detected