code: def load_train_state(filename, info):
      info.exclude_parameter = False
      info.parameter_only = False
      file_loaders = get_decorated_file_loader()
      info.parameter_scope = nn.parameter.get_current_parameter_scope()
      load_files(info, file_loaders, filename)
      logger.info("Load training resume states: {}".format(filename))
  
imports: import os
  import re
  import timeit
  from contextlib import contextmanager
  import nnabla
  import nnabla.utils.callback
  import numpy
  from nnabla.config import nnabla_config
  from nnabla.logger import logger
  from nnabla.utils import nnabla_pb2
  from nnabla.utils.communicator_util import current_communicator
  from nnabla.utils.get_file_handle import get_file_handle_save, get_decorated_file_loader, load_files
  from contextlib import contextmanager
  import nnabla.logger
  from nnabla.lms import SwapInOutScheduler
label_desc: Use image node_id 10 for calling a global function with example usage: load_train_state(filename, info) without return types