提交 54b5809a 编写于 作者: P peizhilin

fix code style test=develop

上级 1fe12fff
...@@ -289,8 +289,8 @@ def infer(use_cuda, params_dirname): ...@@ -289,8 +289,8 @@ def infer(use_cuda, params_dirname):
category_id = fluid.create_lod_tensor([[10L, 8L, 9L]], [[3]], place) category_id = fluid.create_lod_tensor([[10L, 8L, 9L]], [[3]], place)
assert feed_target_names[6] == "movie_title" assert feed_target_names[6] == "movie_title"
movie_title = fluid.create_lod_tensor([[1069L, 4140L, 2923L, 710L, 988L]], movie_title = fluid.create_lod_tensor(
[[5]], place) [[1069L, 4140L, 2923L, 710L, 988L]], [[5]], place)
# Construct feed as a dictionary of {feed_target_name: feed_target_data} # Construct feed as a dictionary of {feed_target_name: feed_target_data}
# and results will contain a list of data corresponding to fetch_targets. # and results will contain a list of data corresponding to fetch_targets.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册