chainer.testing.condition.repeat

chainer.testing.condition.repeat(times)[source]

Decorator that imposes the test to be successful in a row.

Decorated test case is launched multiple times. The case is regarded as passed only if it is successful specified times in a row.

Note

In current implementation, this decorator grasps the failure information of each trial.

Parameters

times (int) – The number of trials.