Skip to main content

//clika-runtime/io.clika.runtime/Ops/divInPlace

divInPlace

[common]
fun divInPlace(self: Tensor, other: Tensor, roundingMode: RoundingMode = RoundingMode.NONE, activation: Activation = Activation.IDENTITY): Tensor

divInPlace(self: Tensor, other: Tensor, roundingMode: RoundingMode = RoundingMode.NONE, activation: Activation = Activation.IDENTITY): the div_ operator. In-place div: writes the (optionally rounded) quotient through x. Writes through self and returns it, so calls chain.

[common]
fun divInPlace(self: Tensor, other: Double, roundingMode: RoundingMode = RoundingMode.NONE, activation: Activation = Activation.IDENTITY): Tensor

divInPlace(self: Tensor, other: Double, roundingMode: RoundingMode = RoundingMode.NONE, activation: Activation = Activation.IDENTITY): the number form of div_, other as a scalar.