IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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

block_scales_interleave

def block_scales_interleave[scales_dtype: DType, //, *, SF_VECTOR_SIZE: Int, target: StringSlice[StaticConstantOrigin] = StringSlice("cpu")](output_scales_device: TileTensor[scales_dtype, linear_idx_type=output_scales_device.linear_idx_type, element_size=output_scales_device.element_size], input_scales_device: TileTensor[scales_dtype, linear_idx_type=input_scales_device.linear_idx_type, element_size=input_scales_device.element_size], ctx: DeviceContext)