未验证 提交 ba98872d 编写于 作者: G guru4elephant 提交者: GitHub

Update dataset.py

上级 e349a744
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册