code: def __init__(self, func):
      self.func = func
  
imports: import sys
  import types
  import torchbearer
  from torchbearer.callbacks import Callback
label_desc: Use image node_id 1 to create a new LambdaCallback object from inherited base classes: Callback with example: obj = LambdaCallback(func)