Skip to main content

//clika-runtime/io.clika.runtime/Ops/mulInPlace

mulInPlace

[common]
fun mulInPlace(self: Tensor, other: Tensor, activation: Activation = Activation.IDENTITY): Tensor

mulInPlace(self: Tensor, other: Tensor, activation: Activation = Activation.IDENTITY): the mul_ operator. In-place mul: writes through x. Writes through self and returns it, so calls chain.

[common]
fun mulInPlace(self: Tensor, other: Double, activation: Activation = Activation.IDENTITY): Tensor

mulInPlace(self: Tensor, other: Double, activation: Activation = Activation.IDENTITY): the number form of mul_, other as a scalar.