GenerativeNetwork.train¶
- abstract GenerativeNetwork.train(quantum_instance=None, shots=None)[ソース]¶
Perform one training step w.r.t to the generator’s parameters
- パラメータ:
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
- 戻り値:
generator loss and updated parameters.
- 戻り値の型:
- 例外:
NotImplementedError – not implemented