code: def __init__(self, l1, l2):
      super().__init__()
      self.l1 = l1
      self.l2 = l2
  
imports: from caffe2.python import core, utils
  import numpy
label_desc: Use image node_id 1 to create a new ElasticNet object from inherited base classes: Regularizer with example: obj = ElasticNet(l1, l2)