If the argument is_seq
set True
for paddle.layer.memory
, the argument boot_layer
should be a mandatory instead of an optional. If boot_layer
is None
in this case, only a sequence of length ONE will be initialized.
It is suggested to add this to the function docs, or to give a warning when boot_layer
is not provided if is_seq
set True
. Otherwise, it will add difficulties to PaddlePaddle beginners.