CustomClassificationScorer.iteration_completed#
- CustomClassificationScorer.iteration_completed(engine: Engine) None#
Helper method to update metric’s computation. It is automatically attached to the engine with
attach().- Args:
engine: the engine to which the metric must be attached
- Note:
engine.state.outputis used to compute metric values. The majority of implemented metrics accept the following formats forengine.state.output:(y_pred, y)or{'y_pred': y_pred, 'y': y}.y_predandycan be torch tensors or list of tensors/numbers if applicable.
Changed in version 0.4.5:
y_predandycan be torch tensors or list of tensors/numbers