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 struct
Struct_grouped_quantize_dynamic_block_scaled
struct Struct_grouped_quantize_dynamic_block_scaled
Implemented traitsโ
AnyType,
ImplicitlyDestructible
Methodsโ
executeโ
static def execute[out_dtype: DType, scales_type: DType, in_dtype: DType, //, scales_rank: Int, target: StringSlice[StaticConstantOrigin]](output: ManagedTensorSlice[Output, static_spec=output.static_spec], scales: ManagedTensorSlice[Output, static_spec=scales.static_spec], input: ManagedTensorSlice[Input, static_spec=input.static_spec], row_offsets: ManagedTensorSlice[Input, static_spec=row_offsets.static_spec], scales_offsets: ManagedTensorSlice[Input, static_spec=scales_offsets.static_spec], expert_ids: ManagedTensorSlice[Input, static_spec=expert_ids.static_spec], sf_tensor: ManagedTensorSlice[Input, static_spec=sf_tensor.static_spec], context: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!