code: def traverse_all_options(
      mutable_expr: MutableExpression[T],
      weights: dict[str, Sequence[float]]
      | dict[str, list[float]]
      | dict[str, np.ndarray]
      | dict[str, torch.Tensor],
  ) -> list[tuple[T, float]]:
      ...
  
file_path: nni/nni/nas/oneshot/pytorch/supermodule/_expression_utils.py
imports: from __future__ import annotations
  import operator
  from typing import Any, TypeVar, List, cast, Mapping, Sequence, Optional, Iterable, overload
  import numpy
  import torch
  from nni.mutable import MutableExpression, Categorical
label_desc: Use image node_id 3 for calling a global function with example usage: traverse_all_options(mutable_expr, weights) without return types