code: def set_batch_normalization_batch_stat_all(self, batch_stat):
      @self.on_generate_function_by_type("BatchNormalization")
      def on_bn(f):
          self.verbose(
              "Setting batch_stat={} at {}.".format(batch_stat, f.name)
          )
          p = f.proto.batch_normalization_param
          p.batch_stat = batch_stat
          return f
  
imports: from __future__ import print_function
  import itertools
  from collections import OrderedDict
  import nnabla
  import numpy
label_desc: Use image node_id 16 for calling the NnpNetworkPass obj's underlying member method code with example usage: obj.set_batch_normalization_batch_stat_all(batch_stat) and returns: f