code: def _stack_accumulators(nested_acc):
      if isinstance(nested_acc, tf.TensorArray):
          return nested_acc.stack()
      return [_stack_accumulators(acc) for acc in nested_acc]
  
file_path: tf-quant-finance/tf_quant_finance/math/custom_loops.py
imports: import tensorflow.compat.v2
  from tf_quant_finance import utils
label_desc: Use image node_id 13 for calling a global function with example usage: _stack_accumulators(nested_acc) and returns: unknown, nested_acc