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

lamb_update
Zeng Jinle 6 years ago committed by GitHub
parent df2eee71d8
commit f88e07a0d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

Loading…
Cancel
Save