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



GenerativeNetwork.train

abstract GenerativeNetwork.train(quantum_instance=None, shots=None)[sorgente]

Perform one training step w.r.t to the generator’s parameters

Parametri
  • quantum_instance (QuantumInstance) – used to run generator network. Ignored for a classical network.

  • shots (int) – Number of shots for hardware or qasm execution. Ignored for classical network

Ritorna

generator loss and updated parameters.

Tipo di ritorno

dict

Solleva

NotImplementedError – not implemented