Skip to main content

//clika-runtime/io.clika.runtime/Ops/uniformInPlace

uniformInPlace

[common]
fun uniformInPlace(self: Tensor, low: Double = 0.0, high: Double = 1.0, device: Placement? = null): Tensor

uniformInPlace(self: Tensor, low: Double = 0.0, high: Double = 1.0, device: Placement? = null): the uniform_ operator. In-place uniform fill on [low, high): overwrites self at its own shape/dtype and returns it under the value surface, Result<void> under the Result surface; CLIKART_CHECK is the mode-stable spelling. Writes through self and returns it, so calls chain.