Mojo function
mul_col_inplace
mul_col_inplace(mut dst: TileTensor[DType.float32, address_space=AddressSpace.LOCAL], vec: TileTensor[DType.float32, address_space=AddressSpace.LOCAL])
dst[gr, gc] *= vec[gc] in place โ lazy-rescale step of online softmax (o_reg *= exp2(max_prev - max_new) when the running max grows).
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!