minusAssign

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

Subtracts the scalar value from each element of this tensor.

Parameters

value

the number to be subtracted from each element of this tensor.

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

Each element of the tensor other is subtracted from each element of this tensor.

Parameters

other

tensor to be subtracted.