powered by
Dot
torch_dot(self, tensor)
the input tensor
the other input tensor
Computes the dot product (inner product) of two tensors.
# NOT RUN { if (torch_is_installed()) { torch_dot(torch_tensor(c(2, 3)), torch_tensor(c(2, 1))) } # }
Run the code above in your browser using DataLab