h = rms_norm(x) selected_experts = router(h) ffn = run_top_k_experts(h, selected_experts) x = x + ffn