code: def test_loops_state_dict():
      trainer = Trainer()
  
      fit_loop = _FitLoop(trainer)
      state_dict = fit_loop.state_dict()
  
      new_fit_loop = _FitLoop(trainer)
  
      new_fit_loop.load_state_dict(state_dict)
      assert fit_loop.state_dict() == new_fit_loop.state_dict()
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_loops_state_dict() without return types