R/tensor.R
plus-.tensor.Rd
elementwise addition
# S3 method for tensor +(x, y)
tensor object
x <- tensor(1) y <- tensor(2) x + y#> tensor #> 3 #> [ Variable[CPUFloatType]{1} ]x + 1#> tensor #> 2 #> [ Variable[CPUFloatType]{1} ]