Mojo function
layer_norm_gpu_warp_tiling
layer_norm_gpu_warp_tiling[mut: Bool, LayoutType: TensorLayout, origin: Origin[mut=mut], dtype: DType, //, simd_width: Scalar[DType.uint], input_fn: fn[width: Int](row: Int, col: Int) capturing -> SIMD[dtype, width], gamma_fn: fn[width: Int, rank: Int](IndexList[rank]) capturing -> SIMD[dtype, width], output_fn: fn[width: Int, alignment: Int](row: Int, col: Int, val: SIMD[dtype, width]) capturing -> None](shape: IndexList[2], beta: TileTensor[dtype, LayoutType, origin], epsilon: Scalar[dtype])
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!