Skip to content

Add padding_value to pad_sequence #5532

@Evpok

Description

@Evpok

It would be nice if torch.nn.utils.rnn.pad_sequence had a padding_value similar to torch.nn.utils.rnn.pad_packed_sequence one.

This should be relatively easy and I already have a PR ready, but I am unsure of the policy for that kind of nearly trivial changes.

Metadata

Metadata

Assignees

No one assigned

    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