code: def __deepcopy__(self, memo):
      ret = self.__class__()
      ret.functions = {
          k: copy.copy(v) for k, v in self.functions.items()
      }
      ret.variables = {
          k: copy.copy(v) for k, v in self.variables.items()
      }
      ret.global_resource = {
          k: copy.copy(v) for k, v in self.global_resource.items()
      }
      return ret
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import copy
  import logging
  from coremltools.converters.mil.mil import types
  from .basic_graph_ops import check_connections, const_determined_nodes
  from .dot_visitor import DotVisitor
  from .naming_utils import escape_fn_name
label_desc: Use image node_id 12 for calling the NetworkEnsemble obj's underlying member method code with example usage: obj.__deepcopy__(memo) and returns: ret