EvaluationLoop¶
- class pytorch_lightning.loops.dataloader.EvaluationLoop(verbose=True)[source]¶
 Bases:
pytorch_lightning.loops.dataloader.dataloader_loop.DataLoaderLoopLoops over all dataloaders for evaluation.
- on_advance_start(*args, **kwargs)[source]¶
 Hook to be called each time before
advanceis called.Accepts all arguments passed to :attr`run`.
- Return type:
 
- on_run_start(*args, **kwargs)[source]¶
 Runs the
_on_evaluation_model_eval,_on_evaluation_startand_on_evaluation_epoch_starthooks.- Return type:
 
- on_skip()[source]¶
 The function to run when
run()should be skipped, determined by the condition inskip.- Return type:
 - Returns:
 the default output value of
on_run_end()
- property dataloaders: Sequence[torch.utils.data.dataloader.DataLoader]¶
 Returns the validation or test dataloaders.