- abstract GenerativeNetwork.train(quantum_instance=None, shots=None)¶
Perform one training step w.r.t to the generator's parameters
- Tham số
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
- Trả về
generator loss and updated parameters.
- Kiểu trả về
- Đưa ra
NotImplementedError -- not implemented