torch.chain_matmul — PyTorch 1.10.1 documentation
pytorch.org › generated › torchUse torch.linalg.multi_dot () instead, which accepts a list of two or more tensors rather than multiple arguments. Parameters matrices ( Tensors...) – a sequence of 2 or more 2-D tensors whose product is to be determined. out ( Tensor, optional) – the output tensor. Ignored if out = None. Returns if the i^ {th} ith tensor was of dimensions
torch.matmul — PyTorch 1.10.1 documentation
pytorch.org › docs › stabletorch.matmul torch.matmul(input, other, *, out=None) → Tensor Matrix product of two tensors. The behavior depends on the dimensionality of the tensors as follows: If both tensors are 1-dimensional, the dot product (scalar) is returned. If both arguments are 2-dimensional, the matrix-matrix product is returned.
Support `torch.linalg.matmul` · Issue #62811 · pytorch ...
github.com › pytorch › pytorchAug 05, 2021 · Python Array API proposes the use of linalg.matmul among other linear algebra functions. Currently, PyTorch supports the same functionality with torch.matmul. Array-API Ops tracker ( #58742) lists a few aliases and it would be nice to add an alias torch.linalg.matmul to torch.matmul making it compliant with Array API. Additional context