File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
name = " TensorBoardLogger"
2
2
uuid = " 899adc3e-224a-11e9-021f-63837185c80f"
3
3
authors = [" Filippo Vicentini <filippovicentini@gmail.com>" ]
4
- version = " 0.1.10 "
4
+ version = " 0.1.11 "
5
5
6
6
[deps ]
7
7
CRC32c = " 8bf52ea8-c179-5cab-976a-9e18b702a9bc"
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ each time logging is performed.
174
174
175
175
Can be overidden by passing `log_step_increment=some_increment` when logging.
176
176
"""
177
- set_step_increment! (lg:: TBLogger , step ) = lg. global_step = step
177
+ set_step_increment! (lg:: TBLogger , Δstep ) = lg. step_increment = Δstep
178
178
179
179
"""
180
180
increment_step!(lg, Δ_Step) -> Int
Original file line number Diff line number Diff line change 67
67
68
68
@test set_step! (tbl, 1 ) == 1
69
69
@test tb_step (tbl) == 1
70
+
71
+ @test set_step_increment! (tbl, 10 ) == 10
72
+ # changing the increment should not affect the step
73
+ @test tb_step (tbl) == 1
70
74
end
71
75
72
76
@testset " resetting" begin
You can’t perform that action at this time.
0 commit comments