code: def inv_affine_sigmoid(alpha, lo=0, hi=1):
      """The inverse of affine_sigmoid(., lo, hi)."""
      if not lo < hi:
          raise ValueError("`lo` (%g) must be < `hi` (%g)" % (lo, hi))
      real = logit((alpha - lo) / (hi - lo))
      return real
  
imports: import collections
  from concurrent import futures
  import contextlib
  import functools
  import time
  from typing import List, Union
  import jax
  from jax import tree_util
  import jax.numpy
  import numpy
  from scipy import interpolate
  from scipy.spatial import transform
  import tqdm
label_desc: Use image node_id 11 for calling a global function with example usage: inv_affine_sigmoid(alpha, lo, hi) and returns: real