Maybe we need to change
"self.state[p]['steps'] = self.state[p]['shared_step'].item()" to
"self.state[p]['step'] = self.state[p]['shared_step'].item()", in both the step functions of SharedAdam and SharedRMSprop under chapter-11.ipynb. Becasue in the step function of Adam, "state[step]" is used rather than "state[steps]".
Maybe we need to change "self.state[p]['steps'] = self.state[p]['shared_step'].item()" to "self.state[p]['step'] = self.state[p]['shared_step'].item()", in both the step functions of SharedAdam and SharedRMSprop under chapter-11.ipynb. Becasue in the step function of Adam, "state[step]" is used rather than "state[steps]".