PyTorch 2 · Tensors
Multiply matrices
Matrix multiplication with the @ operator.
y = a @ b
Official PyTorch 2 documentation
PyTorch 2 · Tensors
Matrix multiplication with the @ operator.
y = a @ b
Official PyTorch 2 documentation
Was this page helpful?