GenerativeNetwork¶
-
class
GenerativeNetwork
[source]¶ Bases:
abc.ABC
Base class for generative Quantum and Classical Neural Networks.
This method should initialize the module, but raise an exception if a required component of the module is not available.
Methods
Apply quantum/classical neural network to given input and get the respective output
Loss function used for optimization
Set discriminator network.
Set seed.
Perform one training step w.r.t to the generator’s parameters
Attributes
-
parameter_values
¶ Get parameter values from the generator
- Raises
NotImplementedError – not implemented
-