wasserstein_loss_discriminator#

ivy.wasserstein_loss_discriminator(p_real, p_fake, out=None)[source]#

Compute the Wasserstein loss for the discriminator (critic).

Parameters:
  • (ivy.Array) (p_fake) –

  • (ivy.Array)

Return type:

Array

Returns:

ivy.Array: Wasserstein loss for the discriminator.