diff options
Diffstat (limited to 'candle-core/src/backend.rs')
-rw-r--r-- | candle-core/src/backend.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/candle-core/src/backend.rs b/candle-core/src/backend.rs index c3f8aa3c..a8e5ac52 100644 --- a/candle-core/src/backend.rs +++ b/candle-core/src/backend.rs @@ -37,6 +37,14 @@ pub trait BackendStorage: Sized { _params: &crate::conv::ParamsConv1D, ) -> Result<Self>; + fn conv2d( + &self, + _l: &Layout, + _kernel: &Self, + _kernel_l: &Layout, + _params: &crate::conv::ParamsConv2D, + ) -> Result<Self>; + fn avg_pool2d(&self, _: &Layout, _: (usize, usize), _: (usize, usize)) -> Result<Self>; fn upsample_nearest2d(&self, _: &Layout, _: usize, _: usize) -> Result<Self>; |