Example #1
0
 public RMSpropOptimizer(Context ctx, Variable output, double learningRate, double rho, double epsilon) : base(ctx, output)
 {
     LearningRate    = learningRate;
     Rho             = rho;
     Epsilon         = epsilon;
     GradientClipper = new NoGradientClipper();
 }
Example #2
0
 public GradientDescentOptimizer(Context ctx, Variable output, double learningRate) : base(ctx, output)
 {
     LearningRate    = learningRate;
     GradientClipper = new NoGradientClipper();
 }