code: def _recur_split(s, dtype_as):
      """Splits (possibly nested list of) strings recursively."""
      if is_str(s):
          return _maybe_list_to_array(s.split(), dtype_as)
      else:
          s_ = [_recur_split(si, dtype_as) for si in s]
          return _maybe_list_to_array(s_, s)
  
imports: from typing import List, Union
  import inspect
  import funcsigs
  from pydoc import locate
  import copy
  import collections
  import numpy
  import tensorflow
  from texar.tf.hyperparams import HParams
  from texar.tf.utils.dtypes import is_str, is_callable, compat_as_text, _maybe_list_to_array
label_desc: Use image node_id 21 for calling a global function with example usage: _recur_split(s, dtype_as) and returns: _maybe_list_to_array, _maybe_list_to_array