For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo function
layer_norm_gpu
def layer_norm_gpu[dtype: DType, //, rank: Int, input_fn: def[width: Int, alignment: Int](Coord[**?]) capturing thin -> SIMD[dtype, width], gamma_fn: def[width: Int, rank: Int, alignment: Int](IndexList[rank]) capturing thin -> SIMD[dtype, width], output_fn: def[width: SIMDLength, alignment: Int](Coord[**?], SIMD[dtype, width]) capturing thin -> None](shape: Coord, beta: TileTensor[dtype, Storage=beta.Storage, address_space=beta.address_space, linear_idx_type=beta.linear_idx_type], epsilon: Float32, *, ctx: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!