code: def config_model(model):
      model_options = list(nets.keys())
      assert (
          model in model_options
      ), "unrecognized model, please choose from %s" % str(
          model_options
      )
  
      # print(str(nets[model]))
  
      pdcs = []
      for i in range(16):
          layer_name = "layer%d" % i
          op = nets[model][layer_name]
          pdcs.append(createConvFunc(op))
  
      return pdcs
  
imports: import os
  import math
  import torch
  import numpy
  import torch.nn
  import torch.nn.functional
  from typing import Optional
  from cftool.cv import to_uint8
  from ....parameters import OPT
label_desc: Use image node_id 2 for calling a global function with example usage: config_model(model) and returns: pdcs