Last updated 4 years ago
Was this helpful?
From
Source:
a,b,c = (config.labels or [-1,1,1]) d_loss = 0.5*((d_real - b)**2) + 0.5*((d_fake - a)**2) g_loss = 0.5*((d_s
Configurations:
{ "class": "function:hypergan.losses.least_squares_loss.LeastSquaresLoss" }
attribute
description
type
labels
[a,b,c]. Defaults to [-1,1,1]
[-1,1,1]
array of floats (optional)