powered by
Returns the inner product between two Tensors
innerProd(tnsr1, tnsr2)# S4 method for Tensor,Tensor innerProd(tnsr1, tnsr2)
# S4 method for Tensor,Tensor innerProd(tnsr1, tnsr2)
first Tensor instance
second Tensor instance
inner product between x1 and x2
x1
x2
innerProd(tnsr1,tnsr2)
# NOT RUN { tnsr1 <- rand_tensor() tnsr2 <- rand_tensor() innerProd(tnsr1,tnsr2) # }
Run the code above in your browser using DataLab