class_docstr: TorchServe 1.0 Model Loader
code: def _get_function_entry_point(self, module, function_name):
      entry_point = getattr(module, function_name)
      initialize_fn = lambda ctx: entry_point(None, ctx)
      return entry_point, initialize_fn
  
imports: import importlib
  import json
  import logging
  import os
  import uuid
  from abc import ABCMeta, abstractmethod
  from builtins import str
  from typing import Optional
  from ts.metrics.metric_cache_yaml_impl import MetricsCacheYamlImpl
  from ts.service import Service
  from .utils.util import list_classes_from_module
label_desc: Use image node_id 5 for calling the TsModelLoader obj's underlying member method code with example usage: obj._get_function_entry_point(module, function_name) and returns: entry_point,  initialize_fn