Least Squares Loss

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

examples

{
  "class": "function:hypergan.losses.least_squares_loss.LeastSquaresLoss"
}

options

attribute

description

type

labels

[a,b,c]. Defaults to [-1,1,1]

array of floats (optional)

Last updated