class_docstr: The base optimizer class. Sets the rules to update weights
  when training a neural network.
class_docstr_tok: ["The","base","optimizer","class",".","Sets","the","rules","to","update","weights","when","training","a","neural","network","."]
docstr: Gets the L2 regularization parameter.
          
code: def l2(self):
      """Gets the L2 regularization parameter."""
      return self._internal.get_l2()
  
imports: import neoml.PythonWrapper
label_desc: Use image node_id 6 for calling the Solver obj's underlying member method code with example usage: obj.l2() and returns: self