Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Question about torch.einsum #5

@ShenZheng2000

Description

@ShenZheng2000

Hello, authors!

I have diffculty understanding this line of code.

C = torch.einsum('bid,bod->bio', q, k)

What does torch.einsum do here? Could you provide a simple example? Thanks!

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