code: def __init__(self):
      self.weights = None
      self.d_weights = None
  
imports: from functools import partial
  import numpy
  import pytest
  from numpy.testing import assert_allclose
  from thinc.api import Linear, NumpyOps, Relu, chain
label_desc: Use image node_id 1 to create a new GradientSpy object from inherited base classes: object with example: obj = GradientSpy()