code: def __init__(self, nin, nouts):
      sz = [nin] + nouts
      self.layers = [
          Layer(sz[i], sz[i + 1], nonlin=i != len(nouts) - 1)
          for i in range(len(nouts))
      ]
  
imports: import random
  from micrograd.engine import Value
label_desc: Use image node_id 1 to create a new MLP object from inherited base classes: Module with example: obj = MLP(nin, nouts)