Skip to content

Commit

Permalink
fix docs of Metric
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyxi authored Dec 25, 2024
1 parent 2fa2fb3 commit 8d7dee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/callbacks/metrics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ If a metric is expensive to compute and you don't want it to slow down the
training phase, you can compute it on the validation phase only:
```julia
cb = Metric(expensivemetric, P = ValidationPhase)
cb = Metric(expensivemetric, phase = ValidationPhase)
```
"""
function Metric(
Expand Down

0 comments on commit 8d7dee5

Please sign in to comment.