summaryrefslogtreecommitdiff
path: root/candle-core/src/backend.rs
diff options
context:
space:
mode:
authorLaurent Mazare <laurent.mazare@gmail.com>2023-11-03 09:44:46 +0100
committerGitHub <noreply@github.com>2023-11-03 09:44:46 +0100
commitbe4555c5a5ea43c12cf2db68546590e649486c2b (patch)
tree2019ed9dfdb8f2e02e1f20b899b88dee3f9f0737 /candle-core/src/backend.rs
parent6975c651120c8ae69f640b370c77efafa100f903 (diff)
downloadcandle-be4555c5a5ea43c12cf2db68546590e649486c2b.tar.gz
candle-be4555c5a5ea43c12cf2db68546590e649486c2b.tar.bz2
candle-be4555c5a5ea43c12cf2db68546590e649486c2b.zip
Add the conv-transpose1d op. (#1251)
* Skeleton structure for conv-transpose1d. * CPU implementation for conv-transpose1d.
Diffstat (limited to 'candle-core/src/backend.rs')
-rw-r--r--candle-core/src/backend.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/candle-core/src/backend.rs b/candle-core/src/backend.rs
index 7f0e2fc7..2125af69 100644
--- a/candle-core/src/backend.rs
+++ b/candle-core/src/backend.rs
@@ -39,6 +39,14 @@ pub trait BackendStorage: Sized {
_params: &crate::conv::ParamsConv1D,
) -> Result<Self>;
+ fn conv_transpose1d(
+ &self,
+ _l: &Layout,
+ _kernel: &Self,
+ _kernel_l: &Layout,
+ _params: &crate::conv::ParamsConvTranspose1D,
+ ) -> Result<Self>;
+
fn conv2d(
&self,
_l: &Layout,