code: def split_layer_name(full_layer_name):
      assert isinstance(full_layer_name, str)
      split_name = full_layer_name.split(".")
      if len(split_name) == 0:
          raise RuntimeError("Bad layer name: " + full_layer_name)
      layer_name = split_name[0]
      if len(split_name) == 1:
          auxiliary_output = None
      else:
          # we probably expect len(split_name) == 2 in this case,
          # but no harm in allowing dots in the auxiliary_output.
          auxiliary_output = ".".join(split_name[1:])
  
      return [layer_name, auxiliary_output]
  
imports: from __future__ import print_function
  from __future__ import division
  import re
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: split_layer_name(full_layer_name) and returns: list