- 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