Allows to use Criterion as a part of computation graph.