For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo function
quantize_dynamic_block_scaled_mxfp4_kernel
def quantize_dynamic_block_scaled_mxfp4_kernel[in_dtype: DType, output_layout: TensorLayout, scales_layout: TensorLayout, input_layout: TensorLayout, OutputEngine: TensorEngine, ScalesEngine: TensorEngine, InputEngine: TensorEngine, *, elements_per_thread: Int](output: TileTensor[.uint8, output_layout, MutAnyOrigin, Engine=OutputEngine], output_scales: TileTensor[.float8_e8m0fnu, scales_layout, MutAnyOrigin, Engine=ScalesEngine], input: TileTensor[in_dtype, input_layout, ImmutAnyOrigin, Engine=InputEngine], num_elements: Int32)