From 675cf318c38d8d89ce88fdf73aa69d0e866a6a6f Mon Sep 17 00:00:00 2001 From: Daniel Falbel Date: Mon, 11 Sep 2023 13:29:50 -0300 Subject: [PATCH] test --- tests/testthat/test-optim-lr_scheduler.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-optim-lr_scheduler.R b/tests/testthat/test-optim-lr_scheduler.R index 54e441846a..e454bd5dec 100644 --- a/tests/testthat/test-optim-lr_scheduler.R +++ b/tests/testthat/test-optim-lr_scheduler.R @@ -160,7 +160,7 @@ test_that("state dict works", { o$load_state_dict(opt_dict) expect_equal(o$param_groups[[1]]$lr, 0.1) - scheduler <- lr_step(optimizer = o, step_size = 0.1) + scheduler <- lr_step(optimizer = o, step_size = 0.2) # use a different value scheduler$load_state_dict(dict) scheduler$step()