chainer_chemistry.training.extensions.batch_evaluator.BatchEvaluator¶
-
class
chainer_chemistry.training.extensions.batch_evaluator.
BatchEvaluator
(iterator, target, converter=<function concat_examples>, device=None, eval_hook=None, eval_func=None, metrics_fun=None, name=None, logger=None)[source]¶ -
__init__
(iterator, target, converter=<function concat_examples>, device=None, eval_hook=None, eval_func=None, metrics_fun=None, name=None, logger=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(iterator, target[, converter, …])Initialize self. evaluate
()Evaluates the model and returns a result dictionary. finalize
()Finalizes the evaluator object. get_all_iterators
()Returns a dictionary of all iterators. get_all_targets
()Returns a dictionary of all target links. get_iterator
(name)Returns the iterator of the given name. get_target
(name)Returns the target link of the given name. initialize
(trainer)Initializes up the trainer state. serialize
(serializer)Serializes the extension state. Attributes
default_name
name
priority
trigger
-