xnn.common.cpu_kernels.override#

xnn.common.cpu_kernels.override(fn, source)[source]#

Translate the jit helper fn from source (a function of the same name and arguments in Triton syntax, resolved in fn’s module) instead of its own source: the lane-wise twin of a helper with a block reduction.

Parameters:

source (str)