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



NumPyDiscriminator.loss

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

Loss function

প্যারামিটার
  • x (numpy.ndarray) -- sample label (equivalent to discriminator output)

  • y (numpy.ndarray) -- target label

  • weights (numpy.ndarray) -- customized scaling for each sample (optional)

রিটার্নস

loss function

রিটার্ন টাইপ

float