code: def inv_affine_softplus(scale, lo=0, ref=1):
      """The inverse of affine_softplus(., lo, ref)."""
      if not lo < ref:
          raise ValueError("`lo` (%g) must be < `ref` (%g)" % (lo, ref))
      shift = inv_softplus(1.0)
      real = inv_softplus((scale - lo) / (ref - lo)) - shift
      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 14 for calling a global function with example usage: inv_affine_softplus(scale, lo, ref) and returns: real