Mojo function
softmax_kernel
softmax_kernel[: origin.set, //, BLOCK_SIZE: Int, input_fn: fn[DType, Int, Int](Index[$2]) capturing -> SIMD[$0, $1], type: DType, rank: Int, accum_type: DType = get_accum_type[::DType,::DType]()](shape: Index[rank], output: NDBuffer[type, rank, MutableAnyOrigin], axis: Int)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!