diff options
author | Laurent Mazare <laurent.mazare@gmail.com> | 2023-08-07 21:07:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 20:07:10 +0100 |
commit | d0d7010682a8fb0678842b1711dfc45e2269ebf5 (patch) | |
tree | d49447285dd46e2f07d943315972346e9428138a /candle-core/src/cuda_backend.rs | |
parent | fc265d9dcfc13ee0b03f4a09537a9e7156b29231 (diff) | |
download | candle-d0d7010682a8fb0678842b1711dfc45e2269ebf5.tar.gz candle-d0d7010682a8fb0678842b1711dfc45e2269ebf5.tar.bz2 candle-d0d7010682a8fb0678842b1711dfc45e2269ebf5.zip |
CPU implementation for upsample-nearest2d. (#339)
Diffstat (limited to 'candle-core/src/cuda_backend.rs')
-rw-r--r-- | candle-core/src/cuda_backend.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/candle-core/src/cuda_backend.rs b/candle-core/src/cuda_backend.rs index e71ecfce..3c37373a 100644 --- a/candle-core/src/cuda_backend.rs +++ b/candle-core/src/cuda_backend.rs @@ -1385,6 +1385,10 @@ impl BackendStorage for CudaStorage { todo!() } + fn upsample_nearest2d(&self, _: &Layout, _: usize, _: usize) -> Result<Self> { + todo!() + } + fn index_select(&self, ids: &Self, l: &Layout, ids_l: &Layout, dim: usize) -> Result<Self> { let device = self.device().clone(); let slice = IndexSelect(ids, ids_l, dim).map(&self.slice, &device, l)?; |