code: def _try_call_init_fn(fn, *args):
      """Try to call function with first num_args else num_args - 1."""
      try:
          return fn(*args)
      except TypeError:
          return fn(*args[:-1])
  
file_path: probability/tensorflow_probability/python/experimental/nn/util/kernel_bias.py
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors.chain import Chain
  from tensorflow_probability.python.bijectors.shift import Shift
  from tensorflow_probability.python.bijectors.softplus import Softplus
  from tensorflow_probability.python.distributions.categorical import Categorical
  from tensorflow_probability.python.distributions.independent import Independent
  from tensorflow_probability.python.distributions.joint_distribution_sequential import JointDistributionSequential
  from tensorflow_probability.python.distributions.mixture_same_family import MixtureSameFamily
  from tensorflow_probability.python.distributions.normal import Normal
  from tensorflow_probability.python.distributions.sample import Sample
  from tensorflow_probability.python.experimental.nn import initializers
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tf_keras
  from tensorflow_probability.python.util.deferred_tensor import TransformedVariable
label_desc: Use image node_id 4 for calling a global function with example usage: _try_call_init_fn(fn) and returns: fn, fn