Skip to content

Factorized Output Layer #1861

@stegben

Description

@stegben

Does PyTorch provide a factorized output layer in nn module? It computes the gradient much faster in sparse output space. This will benefit a lot in NLP experiments.

I can propose such a layer if there isn't one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA request for a proper, new feature.todoNot as important as medium or high priority tasks, but we will work on these.triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions