code: def from_tuple(x):
      schedule_type, *args = x
      return SCHEDULE_MAP[schedule_type](*args)
  
imports: import abc
  import collections
  import copy
  import math
  from typing import Any, Iterable, List, Tuple, Union
  from jax import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: from_tuple(x) and returns: SCHEDULE_MAP