code: def filter_and_update(self, params):
      memo = self._memo
      ret = OrderedDict()
      for k, v in params.items():
          if v in memo:
              continue
          ret[k] = v
          memo.add(v)
      return ret
  
imports: import re
  from collections import OrderedDict
  from functools import wraps
  import nnabla
  from nnabla.core.graph_def import module_scope, current_graph_builder
label_desc: Use image node_id 2 for calling the ParamMemo obj's underlying member method code with example usage: obj.filter_and_update(params) and returns: ret