Skip to main content

//clika-runtime/io.clika.runtime/Ops/prod

prod

[common]
fun prod(input: Tensor, dims: LongArray = longArrayOf(), keepdim: Boolean = false, dtype: DType = DType.UNDEFINED): Tensor

prod(input: Tensor, dims: LongArray = longArrayOf(), keepdim: Boolean = false, dtype: DType = DType.UNDEFINED): the prod operator. Product of input's elements over dims. Empty dims multiplies every element. dtype widens the accumulation/output when set; the default keeps input's dtype.