Skip to content

Commit

Permalink
Expose ItemLazy to be able to implement for custom types (#2525)
Browse files Browse the repository at this point in the history
* Expose ItemLazy to be able to implement for custom types

* Add comment
  • Loading branch information
laggui authored Nov 22, 2024
1 parent 9a2b841 commit 9c31f75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/burn-train/src/metric/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ pub use memory_use::*;
pub use top_k_acc::*;

pub(crate) mod processor;
// Expose `ItemLazy` so it can be implemented for custom types
pub use processor::ItemLazy;

/// Module responsible to save and exposes data collected during training.
pub mod store;

Expand Down

0 comments on commit 9c31f75

Please sign in to comment.