DiscriminativeNetwork.loss

abstract DiscriminativeNetwork.loss(x, y, weights=None)[source]

Loss function used for optimization

Parameters
  • x (Discriminator) – output.

  • y (Label) – the data point

  • weights (numpy.ndarray) – Data weights.

Returns

Loss w.r.t to the generated data points.

Raises

NotImplementedError – not implemented