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

cast_fp2em1x2_to_bf16x2

def cast_fp2em1x2_to_bf16x2[byte_select: Int](packed: Int32, scale: Float32) -> SIMD[DType.bfloat16, 2]

Returns:

SIMD[DType.bfloat16, 2]