chainer.testing.attr.gpu

chainer.testing.attr.gpu(f)[source]

Decorator to indicate that GPU is required to run the test.

Tests can be annotated with this decorator (e.g., @gpu) to declare that one GPU is required to run.