code: def __init__(self, fn, *args):
      super(LambdaBase, self).__init__(*args)
      self.lambda_func = fn
  
imports: import torch
  import torch.nn
  from torch.autograd import Variable
  from functools import reduce
label_desc: Use image node_id 1 to create a new LambdaBase object from inherited base classes: nn with example: obj = LambdaBase(fn)