Skip to content

Tutorial to compute Transformer FLOPs (Equation 6 in the paper) #210

@yuweihao

Description

@yuweihao

Hi everyone, Someone asked me how to compute Transformer FLOPs (Equation 6 in the paper). I wrote a tutorial and hope it can help. Feel free to offer feedback so that I can improve it.
transformer_FLOPs

You can also refer to PDF version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions