code: def _backward(self, x_dot_parameters):
          
          I, J, _ = self.x.shape
          return backward(self._lattice, x_dot_parameters, I, J,
                          self.state_machine.n_states)
docs: Helper to calculate the backward weights.