timesAssign

abstract operator fun Tensor<T>.timesAssign(value: T)

Multiplies the scalar value by each element of this tensor.

Parameters

value

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

abstract operator fun Tensor<T>.timesAssign(other: Tensor<T>)

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

Parameters

other

tensor to be multiplied.