Korean
언어
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese
Shortcuts



QuantumGenerator.loss

QuantumGenerator.loss(x, weights)[소스]

Loss function for training the generator’s parameters.

매개변수
  • x (numpy.ndarray) – sample label (equivalent to discriminator output)

  • weights (numpy.ndarray) – probability for measuring the sample

반환

loss function

반환 형식

float