Skip to content

Mandatory boot_layer argument in paddle.layer.memory if is_seq set True. #2142

@xinghai-sun

Description

@xinghai-sun

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions