code: def get_layer_param(model):
      import operator
      import functools
  
      return sum(
          [
              functools.reduce(operator.mul, i.size(), 1)
              for i in model.parameters()
          ]
      )
  
imports: import torch
label_desc: Use image node_id 4 for calling a global function with example usage: get_layer_param(model) and returns: sum