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

Function run_eagerly

tensorflow/python/framework/test_util.py:1085–1090  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

1083 pass
1084
1085 def run_eagerly(self, **kwargs):
1086 if not use_gpu:
1087 with ops.device("/device:CPU:0"):
1088 f(self, *args, **kwargs)
1089 else:
1090 f(self, *args, **kwargs)
1091
1092 if assert_no_eager_garbage:
1093 ops.reset_default_graph()

Callers 1

decoratedFunction · 0.85

Calls 2

fFunction · 0.50
deviceMethod · 0.45

Tested by

no test coverage detected