Skip to content

uint32

builtin · libnexusinterp/nexus-value/ov-proprietary.cc

: y = uint32 (x)

Return x recast as an unsigned 32-bit integer array, with range 0 to 4294967295.

Non-integer values are rounded to the nearest integer, with halves rounded away from zero. Values outside the representable range saturate rather than wrapping, so negatives become 0 and values above the maximum become 4294967295. The shape of x is preserved and exactly one argument is required.