Skip to main content

Mojo function

set_batched_scale_factor

set_batched_scale_factor[scales_dtype: DType, scales_layout: Layout, //, SF_VECTOR_SIZE: Int](scales_tensor: LayoutTensor[scales_dtype, scales_layout, MutAnyOrigin], batch_idx: Int, row_idx: Int, col_idx: Int, scale_value: Scalar[scales_dtype])

Was this page helpful?