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