code: def extract_version_from_filename(yaml_file):
      basename = os.path.basename(yaml_file)
      basename = os.path.splitext(basename)[0]
      splits = basename.split("_")
      if len(splits) < 3:
          return None
      return splits[2]
  
imports: import pickle
  import zlib
  from collections import OrderedDict
  from os.path import abspath, join, dirname, expanduser
  import glob
  import os
  import yaml
  import certifi
  import ssl
  from nnabla.utils import nnabla_pb2
  from nnabla.logger import logger
label_desc: Use image node_id 6 for calling a global function with example usage: extract_version_from_filename(yaml_file) and returns: splits, None