innerProd-methods | R Documentation |
Returns the inner product between two Tensors
innerProd(tnsr1, tnsr2)
## S4 method for signature 'Tensor,Tensor'
innerProd(tnsr1, tnsr2)
tnsr1 |
first Tensor instance |
tnsr2 |
second Tensor instance |
innerProd(tnsr1,tnsr2)
inner product between x1
and x2
tnsr1 <- rand_tensor()
tnsr2 <- rand_tensor()
innerProd(tnsr1,tnsr2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.