Skip to main content

Mojo function

group_norm

group_norm[dtype: DType, rank: Int, input_fn: def[width: Int, _rank: Int](IndexList[_rank]) capturing -> SIMD[dtype, width], gamma_fn: def[width: Int](IndexList[1]) capturing -> SIMD[dtype, width], beta_fn: def[width: Int](IndexList[1]) capturing -> SIMD[dtype, width], /, target: StringSlice[StaticConstantOrigin] = StringSlice("gpu")](shape: IndexList[rank], epsilon: Scalar[dtype], groups: Int32, output: TileTensor[dtype, output.LayoutType, output.origin, address_space=output.address_space, linear_idx_type=output.linear_idx_type, element_size=output.element_size], ctx: DeviceContextPtr)

Was this page helpful?