CPU implementation for upsample-nearest2d. (#339)

This commit is contained in:
Laurent Mazare
2023-08-07 21:07:10 +02:00
committed by GitHub
parent fc265d9dcf
commit d0d7010682
5 changed files with 61 additions and 7 deletions

View File

@ -38,6 +38,7 @@ pub trait BackendStorage: Sized {
) -> Result<Self>;
fn avg_pool2d(&self, _: &Layout, _: (usize, usize), _: (usize, usize)) -> Result<Self>;
fn upsample_nearest2d(&self, _: &Layout, _: usize, _: usize) -> Result<Self>;
fn gather(&self, _: &Layout, _: &Self, _: &Layout, _: usize) -> Result<Self>;
fn scatter_add(