code: def _cond_tf(pred, true_fn, false_fn, args):
      import tensorflow as tf
  
      return tf.cond(
          pred, lambda: true_fn(*args), lambda: false_fn(*args)
      )
  
imports: from importlib import import_module
  import autoray
  import numpy
  import semantic_version
  from scipy.linalg import block_diag
  from .utils import get_deep_interface
label_desc: Use image node_id 24 for calling a global function with example usage: _cond_tf(pred, true_fn, false_fn, args) and returns: tf