torch_mist.critic.constant
Module Contents
Classes
- class torch_mist.critic.constant.ConstantCritic(value: float = 0)
Bases:
torch_mist.critic.base.Critic- forward(x, y) torch.Tensor
Compute the value of the critic evaluated at the pair (x, y) :param x: a tensor representing x :param y: a tensor representing y :return: The value of the ratio estimator on the given pair