code: def on_function_pass_by_name(self, name):
      def _on_function_pass_by_name(callback):
          def _callback(f, variables, param_scope):
              return callback(f, variables, param_scope)
  
          self._passes_by_name[name] = _callback
          return _callback
  
      return _on_function_pass_by_name
  
imports: from __future__ import print_function
  import itertools
  from collections import OrderedDict
  import nnabla
  import numpy
label_desc: Use image node_id 4 for calling the NnpNetworkPass obj's underlying member method code with example usage: obj.on_function_pass_by_name(name) and returns: _on_function_pass_by_name, _callback, callback