Japanese
言語
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