Paddle
Paddle copied to clipboard
a bug~
https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/trainer/PyDataProvider2.py
assert len(each, input_type.dim)
@staticmethod
def loop_callback(input_type, each):
assert isinstance(input_type, InputType)
if input_type.type == DataType.Dense:
assert isinstance(each, collections.Sequence)
for d in each:
assert isinstance(d, float)
assert len(each, input_type.dim)
The error was:
