code: def set_from_config(layer_config, layer_init=None):
      pool_layer = PoolLayer(**layer_config)
      pool_layer._init = layer_init
      return pool_layer
  
imports: from .basic_model import BasicModel
  import tensorflow
  import numpy
  import copy
label_desc: Use image node_id 4 for calling the PoolLayer obj's underlying member method code with example usage: obj.set_from_config(layer_config, layer_init) and returns: pool_layer