Skip to content

Add a torch.matmul function and document broadcast behavior of it and delegated functions #1756

@gchanan

Description

@gchanan

See #1563 (comment) for context.

This will include the following changes:

  1. Expose a torch.matmul function with semantics of matmul as of PR Numpy-style broadcasting for all mathematical functions #1563.
  2. Document above torch.matmul function, including broadcast behavior.
  3. Document that the following functions do not broadcast:
    torch.mm
    torch.mv
    torch.bmm
    torch.dot (this function does flatten)
    torch.ger (this function does not flatten or broadcast).

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