Exemplo n.º 1
0
 public override void Learn(Optimizer optimizer, ComputeShader compute, float rate)
 {
     optimizer.Update(compute, rate, gamma, dgamma);
     optimizer.Update(compute, rate, beta, dbeta);
 }
Exemplo n.º 2
0
 public override void Learn(Optimizer optimizer, ComputeShader compute, float rate)
 {
     optimizer.Update(compute, rate, weights, dW);
     optimizer.Update(compute, rate, biases, dB);
 }