timesAssign

open operator override fun Tensor<Int>.timesAssign(value: Int)(source)

Multiplies the scalar value by each element of this tensor.

Parameters

value

the number to be multiplied by each element of this tensor.


open operator override fun Tensor<Int>.timesAssign(arg: StructureND<Int>)(source)

Each element of the tensor arg is multiplied by each element of this tensor.

Parameters

arg

tensor to be multiplied.