setLearningRate(learningRate) {
        this.learningRate = learningRate;
        if (this.c != null) this.c.dispose();
        this.c = (0, _globals.keep)((0, _scalar.scalar)(-learningRate));
    }
Sets the learning rate of the optimizer.