We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2bccf7 commit 4ceac50Copy full SHA for 4ceac50
test-toolkit/resources/mnist/model_cpu/call_model_fn_once.py
@@ -14,28 +14,8 @@
14
15
import os
16
17
-print("HEY")
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
def model_fn(model_dir):
36
- print("HEY")
37
38
-
39
lock_file = os.path.join(model_dir, 'model_fn.lock.{}'.format(os.getpid()))
40
if os.path.exists(lock_file):
41
raise RuntimeError('model_fn called more than once (lock: {})'.format(lock_file))
0 commit comments