class_docstr: Most of ImageNet pretrained models are inherited from this class
  so that it provides some common interfaces.
code: def configure_global_average_pooling(
      self,
      callback,
      force_global_pooling,
      check_global_pooling,
      name,
      by_type=False,
  ):
      if force_global_pooling:
          callback.force_average_pooling_global(name, by_type=by_type)
      elif check_global_pooling:
          callback.check_average_pooling_global(name, by_type=by_type)
  
file_path: nnabla/python/src/nnabla/models/imagenet/base.py
imports: from __future__ import absolute_import
  import nnabla
  from nnabla.utils.nnp_graph import NnpLoader
  from ..utils import *
label_desc: Use image node_id 7 for calling the ImageNetBase obj's underlying member method code with example usage: obj.configure_global_average_pooling(callback, force_global_pooling, check_global_pooling, name, by_type) without return types