Update dataset.py

revert-16650-refine_parallel_executor_3
guru4elephant 6 years ago committed by GitHub
parent e349a7443f
commit ba98872d96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,7 +136,6 @@ class DatasetBase(object):
slot_var.name = var.name
if var.lod_level == 0:
slot_var.is_dense = True
print(var.shape)
slot_var.shape.extend(var.shape)
if var.dtype == core.VarDesc.VarType.FP32:
slot_var.type = "float"

Loading…
Cancel
Save