- activation-backend-add-broadcast-kernel! backend op dtype kernelprocedure
Install kernel, a procedure (rows cols a mode-a b mode-b out), as the broadcast form of binary op (add, sub, mul or div). out is a row-major rows x cols array receiving out[i, j] = op(a[.], b[.]); the mode of an operand says how it is indexed: 0, a rows x cols array; 1, one value per row; 2, one value per column; 3, a single value.