mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 19:47:12 +00:00
CPU implementation for upsample-nearest2d. (#339)
This commit is contained in:
@ -123,6 +123,10 @@ impl crate::backend::BackendStorage for CudaStorage {
|
||||
fn avg_pool2d(&self, _: &Layout, _: (usize, usize), _: (usize, usize)) -> Result<Self> {
|
||||
Err(Error::NotCompiledWithCudaSupport)
|
||||
}
|
||||
|
||||
fn upsample_nearest2d(&self, _: &Layout, _: usize, _: usize) -> Result<Self> {
|
||||
Err(Error::NotCompiledWithCudaSupport)
|
||||
}
|
||||
}
|
||||
|
||||
impl crate::backend::BackendDevice for CudaDevice {
|
||||
|
Reference in New Issue
Block a user