Skip to main content

//clika-runtime/io.clika.runtime/Ops/fmod

fmod

[common]
fun fmod(input: Tensor, other: Tensor): Tensor

fmod(input: Tensor, other: Tensor): the fmod operator. Elementwise remainder with the sign of the DIVIDEND, i.e. ops::mod with ModMode::C. Broadcasts and promotes as add.

[common]
fun fmod(input: Tensor, other: Double): Tensor

fmod(input: Tensor, other: Double): the number form of fmod, other as a scalar.