mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 11:37:11 +00:00
CPU implementation for upsample-nearest2d. (#339)
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user