torch_dot function

Dot

Dot

torch_dot(self, tensor)

Arguments

  • self: the input tensor
  • tensor: the other input tensor

Note

This function does not broadcast .

dot(input, tensor) -> Tensor

Computes the dot product (inner product) of two tensors.

Examples

if (torch_is_installed()) { torch_dot(torch_tensor(c(2, 3)), torch_tensor(c(2, 1))) }
  • Maintainer: Daniel Falbel
  • License: MIT + file LICENSE
  • Last published: 2025-02-14