未验证 提交 f88e07a0 编写于 作者: Z Zeng Jinle 提交者: GitHub

fix lod_tensor.py grammar error, test=develop (#18308)

上级 df2eee71
......@@ -72,7 +72,7 @@ def create_lod_tensor(data, recursive_seq_lens, place):
if isinstance(data, core.LoDTensor):
return create_lod_tensor(np.array(data), recursive_seq_lens, place)
elif isinstance(data, list):
# dtype and shape is not important here,
# dtype and shape are not important here,
# we only want to reuse code of DataToLoDTensorConverter
converter = DataToLoDTensorConverter(
place=place,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册