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 struct
Struct_moe_create_indices_packed
struct Struct_moe_create_indices_packed
Registers the moe.create.indices.packed graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[top_k: Int, expert_offset: Int, local_experts: Int](token_expert_order: T, expert_start_indices: T, restore_token_order: T, expert_ids: T, expert_usage_stats: T, scales_offset: T, weights: T, routing: T, context: DeviceContext)