//clika-runtime/io.clika.runtime/Ops/constantPad
constantPad
[common]
fun constantPad(input: Tensor, pad: LongArray, value: Tensor? = null): Tensor
constantPad(input: Tensor, pad: LongArray, value: Tensor? = null): the constant_pad operator. pad with a constant fill. Pads each axis by interleaved (lo, hi) pairs in layout order: pair i pads axis i; fewer pairs than the rank pads only the leading axes; a negative width crops that side. Widths are literals or 0-D integer Tensors. Copies.