b97a5de2798e55ebfb3f967e7c76c649abe2ddc3,torchbearer/callbacks/decorators.py,,on_forward_validation,#Any#,240
Before Change
:return: Initialised callback with :meth:`.Callback.on_forward_validation` calling func
:rtype: :class:`.Callback`
if isinstance(func, Callback):
callback = func
else:
callback = Callback()
callback.on_lambda = func
callback.on_forward_validation = callback.on_lambda
return callback
def on_criterion_validation(func):
The :func:`on_criterion_validation` decorator is used to initialise a :class:`.Callback` with :meth:`~.Callback.on_criterion_validation`
After Change
:return: Initialised callback with :meth:`.Callback.on_forward_validation` calling func
:rtype: :class:`.Callback`
return bind_to(Callback.on_forward_validation)(func)
def on_criterion_validation(func):
The :func:`on_criterion_validation` decorator is used to initialise a :class:`.Callback` with :meth:`~.Callback.on_criterion_validation`
In pattern: SUPERPATTERN
Frequency: 17
Non-data size: 14
Instances Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_forward_validation
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_end_training
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_step_training
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_end_validation
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_sample_validation
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_start
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_step_validation
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_backward
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_sample
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_end
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_start_training
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_start_epoch
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_end_epoch
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_criterion
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_start_validation
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_forward
Project Name: ecs-vlc/torchbearer
Commit Name: b97a5de2798e55ebfb3f967e7c76c649abe2ddc3
Time: 2018-08-16
Author: ewah1g13@soton.ac.uk
File Name: torchbearer/callbacks/decorators.py
Class Name:
Method Name: on_criterion_validation