Keyword Arguments:
      out (Tensor, optional) -- output tensor. Ignored if
      None. Default: None.
Examples:
  >>> from torch.linalg import multi_dot

  >>> multi_dot([torch.tensor([1, 2]), torch.tensor([2, 3])])
  tensor(8)
  >>> multi_dot([torch.tensor([[1, 2]]), torch.tensor([2, 3])])
  tensor([8])
  >>> multi_dot([torch.tensor([[1, 2]]), torch.tensor([[2], [3]])])
  tensor([[8]])

  >>> A = torch.arange(2 * 3).view(2, 3)
  >>> B = torch.arange(3 * 2).view(3, 2)
  >>> C = torch.arange(2 * 2).view(2, 2)
  >>> multi_dot((A, B, C))
  tensor([[ 26,  49],
          [ 80, 148]])
