Enum InnerLoopKernelKey.KernelFamily
The ufunc family a key belongs to (selects the string format and op enum).
public enum InnerLoopKernelKey.KernelFamily : byte
Fields
Binary = 1Binary arithmetic ufunc:
npy_binop_{op}{lhs}{rhs}_{result}.Comparison = 2Comparison ufunc:
npy_cmp_{op}{lhs}{rhs}.Unary = 3Unary ufunc:
npy_unop_{op}{input}{output}.ShiftLeft = 4Left shift:
npy_shift_L_{value}_{result}.ShiftRight = 5Right shift:
npy_shift_R_{value}_{result}.Clip = 6np.clip's iterator route:
npy_clip_{mode}{general|const}{dtype}, every operand of the one loop dtype. The op byte carries the bound mode (or 3 for np.positive's identity copy) in its low nibble and NumPy's const fast path in bit 4.PowerStrideZero = 7np.power's float loop with NumPy's zero-exponent-step fast path (DOUBLE_power / FLOAT_power):
npy_powz_{lhs}{rhs}{result}. Its body differs from the plain power kernel's, so it is its own identity; the result dtype is float32 or float64.