Hinge loss doesn't expect to get probability as input. From paper,
The objective (6) thus compares the realism of the fake example xˆi(t) and the real example xi(t) and then updates
the discriminator parameters to push these scores below −1
and above +1 respectively.
So you can just put inner-product and y_true into hinge loss. y_true is 1 for real and -1 for fake.
Hinge loss doesn't expect to get probability as input. From paper,
So you can just put inner-product and y_true into hinge loss. y_true is 1 for real and -1 for fake.