elementwise multiplciation

# S3 method for tensor
*(x, y)

Arguments

x

tensor object

other

tensor object

Examples

x <- tensor(2) y <- tensor(3) x * y
#> tensor #> 6 #> [ Variable[CPUFloatType]{1} ]
x * 2
#> tensor #> 4 #> [ Variable[CPUFloatType]{1} ]