Mojo function
group_norm_gpu
group_norm_gpu[type: DType, rank: Int, //, input_fn: fn[Int, Int](IndexList[$1]) capturing -> SIMD[type, $0], gamma_fn: fn[Int](IndexList[1]) capturing -> SIMD[type, $0], beta_fn: fn[Int](IndexList[1]) capturing -> SIMD[type, $0]](shape: IndexList[rank, element_type=element_type], epsilon: SIMD[type, 1], output: NDBuffer[type, rank, origin, shape, strides], num_groups: Int, ctx: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!