R/tensor.R
tch_dot.Rd
Computes the dot product (inner product) of two tensors.
tch_dot(x, tensor)
tensor object
tch_dot(tensor(c(2,3)), tensor(c(2,1)))#> tensor #> 7 #> [ Variable[CPUFloatType]{} ]