R/tensor.R
times-.tensor.Rd
elementwise multiplciation
# S3 method for tensor *(x, y)
tensor object
x <- tensor(2) y <- tensor(3) x * y#> tensor #> 6 #> [ Variable[CPUFloatType]{1} ]x * 2#> tensor #> 4 #> [ Variable[CPUFloatType]{1} ]