          event_parse._add_amd_loss_labels.reset_mock()
          event_parse._process_event.reset_mock()
          event_parse._cache.cache_data.reset_mock()
  
          # AMD + batch item 2
          monkeypatch.setattr("lib.utils._FS_BACKEND", "amd")
          monkeypatch.setattr(event_parse,
                              "_iterator",
                              iter([self._create_example_event(2, 1., time())]))
          event_parse.cache_events(1)
          assert not event_parse._parse_outputs.called
          assert event_parse._add_amd_loss_labels.called
          assert event_parse._process_event.called
          assert event_parse._cache.cache_data.called
  
      def test__parse_outputs(self,
                              event_parser_instance: _EventParser,
                              mocker: pytest_mock.MockerFixture) -> None:
          """ Test _parse_outputs works correctly
  
 
</s> remove         event_parse._add_amd_loss_labels.reset_mock()
 </s> add  </s> remove         assert not event_parse._add_amd_loss_labels.called
 </s> add  </s> remove         assert not event_parse._add_amd_loss_labels.called
 </s> add  </s> remove         assert not event_parse._add_amd_loss_labels.called
 </s> add  </s> remove         event_parse._add_amd_loss_labels.reset_mock()
 </s> add 
          event_parse._add_amd_loss_labels.reset_mock()
          event_parse._process_event.reset_mock()
          event_parse._cache.cache_data.reset_mock()
  











      def test__parse_outputs(self,
                              event_parser_instance: _EventParser,
                              mocker: pytest_mock.MockerFixture) -> None:
          """ Test _parse_outputs works correctly
  
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Remove plaidML support (#1325)

* Remove PlaidML reference from readme files

* Remove AMD option from installers

* remove amd requirements and update setup.py

* remove plaidml test from CI workflow

* gpustats: remove plaidml backend

* plaid removals:
  - faceswap.py - python version check
  - setup.cfg - plaidml typing ignore
  - lib.keras_utils - All plaid code
  - lib.launcher.py - All plaidml checks and configuration

* remove tf2.2 specific code from GUI event reader

* lib.model - remove all plaidml implementations

* plugins.extract - remove plaidml code

* plugins.train remove plaidml code

* lib.convert - remove plaidml code

* tools.model: remove plaidml code

* Remove plaidML tests from unit tests

* remove plaidml_utils and docsting cleanups

* Remove plaidML refs from configs

* fix keras imports 
tests/lib/gui/stats/event_reader_test.py