- 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.
- Dönüş türü
- Harekete geçirir
NotImplementedError – not implemented