Russian
Языки
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese
Shortcuts



PyTorchDiscriminator.loss

PyTorchDiscriminator.loss(x, y, weights=None)[исходный код]

Loss function

Параметры
  • x (torch.Tensor) – Discriminator output.

  • y (torch.Tensor) – Label of the data point

  • weights (torch.Tensor) – Data weights.

Результат

Loss w.r.t to the generated data points.

Тип результата

torch.Tensor