Mojo function
group_norm_gpu_warp_tiling
group_norm_gpu_warp_tiling[type: DType, simd_width: UInt, input_fn: fn[Int](row: Int, col: Int) capturing -> SIMD[type, $0], gamma_fn: fn[Int](IndexList[1]) capturing -> SIMD[type, $0], beta_fn: fn[Int](IndexList[1]) capturing -> SIMD[type, $0]](output: NDBuffer[type, 2, MutableAnyOrigin], epsilon: SIMD[type, 1], num_groups: Int, channels_per_group: Int, spatial: Int)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!