Skip to content

Commit c4e50fb

Browse files
committed
Fixed restrictive type information
1 parent afbd961 commit c4e50fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hparams.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ to `Float64` when writing the logs.
112112
`metrics` should be a list of tags, which correspond to scalars that have been logged. Tensorboard will
113113
automatically extract the latest metric logged to use for this value.
114114
"""
115-
function write_hparams!(logger::TBLogger, hparams::Dict{String,Any}, metrics::AbstractArray{String})
115+
function write_hparams!(logger::TBLogger, hparams::Dict{String,<:Any}, metrics::AbstractArray{String})
116116
PLUGIN_NAME = "hparams"
117117
PLUGIN_DATA_VERSION = 0
118118

0 commit comments

Comments
 (0)