Skip to content

Commit 186afd0

Browse files
authored
[Serving] Fix syntax error in generate timeline tool. (#977)
Signed-off-by: candy.dc <[email protected]>
1 parent 8b58f9b commit 186afd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serving/tools/timeline/gen_timeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import sys
2-
import config_pb2
3-
import timeline
2+
from tensorflow.core.protobuf import config_pb2
3+
from tensorflow.python.client import timeline
44

55
def gen_timeline(src_name, dest_name):
66
run_metadata = config_pb2.RunMetadata()

0 commit comments

Comments
 (0)