Skip to content

Commit

Permalink
fix: window -> pub window in dataset/mod.rs (#1658)
Browse files Browse the repository at this point in the history
* update dataset/mod.rs

* Update mod.rs

* Update window.rs
  • Loading branch information
NicoZweifel authored Apr 19, 2024
1 parent 9fbcbed commit ee12aee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/burn-dataset/src/dataset/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ pub use in_memory::*;
pub use iterator::*;
#[cfg(any(feature = "sqlite", feature = "sqlite-bundled"))]
pub use sqlite::*;
pub use window::*;
3 changes: 2 additions & 1 deletion crates/burn-dataset/src/dataset/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ impl<'a, I> WindowDataset<'a, I> {
/// # Parameters
///
/// - `dataset`: The dataset over which windows will be created.
/// - `size`: The size of the window.
/// - `size`: The size of the windows.
///
/// # Returns
///
Expand All @@ -24,6 +24,7 @@ impl<'a, I> WindowDataset<'a, I> {

/// Dataset designed to work with overlapping windows of data.
pub struct WindowDataset<'a, I> {
/// The size of the windows.
pub size: NonZeroUsize,
dataset: &'a dyn Dataset<I>,
}
Expand Down

0 comments on commit ee12aee

Please sign in to comment.