diff --git a/paddle/py_paddle/dataprovider_converter.py b/paddle/py_paddle/dataprovider_converter.py index 7df4a6967fcc9ea291cf42600f92fd132f07e9c2..218cb5ec560ed0717d96a50e9560492ee55b9f70 100644 --- a/paddle/py_paddle/dataprovider_converter.py +++ b/paddle/py_paddle/dataprovider_converter.py @@ -111,7 +111,8 @@ class DenseScanner(IScanner): "The dimension of input cannot be greater than 3.") if len(self.__shape__) == 0: raise ValueError( - "The input should be a vector, please check your input data.") + "The input should be a vector, please check your input data." + ) self.__dim__ = reduce(lambda x, y: x * y, self.__shape__) if len(self.__shape__) == 1 and self.__dim__ != self.input_type.dim: raise ValueError(