Bengali
ভাষাসমূহ
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese



PyTorchDiscriminator.loss

PyTorchDiscriminator.loss(x, y, weights=None)[source]

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