chainer.testing.fix_random

chainer.testing.fix_random()[source]

Decorator that fixes random numbers in a test.

This decorator can be applied to either a test case class or a test method. It should not be applied within condition.retry or condition.repeat.