View source: R/gen-namespace.R
torch_dot | R Documentation |
Dot
torch_dot(self, tensor)
self |
the input tensor |
tensor |
the other input tensor |
Computes the dot product (inner product) of two tensors.
This function does not broadcast .
if (torch_is_installed()) {
torch_dot(torch_tensor(c(2, 3)), torch_tensor(c(2, 1)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.