Skip to content

Commit

Permalink
fix: generics
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoZweifel committed Oct 6, 2024
1 parent 267c609 commit d073cf9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/burn-dataset/src/dataset/windows.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use std::{cmp::max, marker::PhantomData, num::NonZeroUsize};

use serde::de::DeserializeOwned;

use crate::Dataset;

/// Functionality to create windows.
Expand Down Expand Up @@ -129,7 +127,7 @@ where
impl<D, I> Dataset<Vec<I>> for WindowsDataset<D, I>
where
D: Dataset<I>,
I: Clone + Send + Sync + DeserializeOwned,
I: Clone + Send + Sync,
{
/// Retrieves a window of items from the dataset.
///
Expand Down

0 comments on commit d073cf9

Please sign in to comment.