code: def _apply_function_pass_by_type(self, f, variables, param_scope):
      if f.proto.type not in self._passes_by_type:
          return f
      return self._passes_by_type[f.proto.type](
          f, variables, param_scope
      )
  
imports: from __future__ import print_function
  import itertools
  from collections import OrderedDict
  import nnabla
  import numpy
label_desc: Use image node_id 18 for calling the NnpNetworkPass obj's underlying member method code with example usage: obj._apply_function_pass_by_type(f, variables, param_scope) and returns: self, f