code: def __init__(
      self,
      params: List[Tensor],
      lr=0.001,
      b1=0.9,
      b2=0.999,
      eps=1e-6,
      wd=0.0,
      adam=False,
  ):
      super().__init__(params, lr)
      self.b1, self.b2, self.eps, self.wd, self.adam, self.t = (
          b1,
          b2,
          eps,
          wd,
          adam,
          Tensor(
              [0], device=self.device, requires_grad=False
          ).realize(),
      )
      self.m = [
          Tensor.zeros(*t.shape, device=t.device, requires_grad=False)
          for t in self.params
      ]
      self.v = [
          Tensor.zeros(*t.shape, device=t.device, requires_grad=False)
          for t in self.params
      ]
  
file_path: tinygrad/tinygrad/nn/optim.py
imports: from typing import List
  from tinygrad.helpers import dedup, getenv
  from tinygrad.tensor import Tensor
label_desc: Use image node_id 1 to create a new LAMB object from inherited base classes: Optimizer with example: obj = LAMB(params, lr, b1, b2, eps, wd, adam)