code: def select_first_non_none(*args):
      for a in args:
          if a is not None:
              return a
      return None
  
imports: import h5py
  import numpy
  import joblib
  import os
  import tqdl
  import logging
  import tensorflow
  import unicodedata
  import string
  from tensorflow.python.keras.saving.hdf5_format import load_attributes_from_hdf5_group
  from finetune.util.download import FINETUNE_BASE_FOLDER
  from finetune.util.shapes import lengths_from_eos_idx
  from finetune.util.tokenization import normalize_nfkc, WEIRD_SPM_CHAR
  from finetune.encoding.input_encoder import BaseEncoder
  from finetune.encoding.input_encoder import EncodedOutput
  from finetune.base_models import SourceModel
  from finetune.optimizers.recompute_grads import recompute_grads_w_kwargs
  from finetune.util.featurizer_fusion import fused_featurizer
  from tensorflow.python.util import tf_inspect
  from tensorflow.python.keras.utils import tf_utils
  from tensorflow.keras.layers import Embedding
  from transformers.models.longformer.modeling_tf_longformer import TFLongformerSelfAttention
label_desc: Use image node_id 3 for calling a global function with example usage: select_first_non_none() and returns: None, a