diff options
Diffstat (limited to 'candle-core/src/tensor.rs')
-rw-r--r-- | candle-core/src/tensor.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/candle-core/src/tensor.rs b/candle-core/src/tensor.rs index a2c3f428..7dd24abf 100644 --- a/candle-core/src/tensor.rs +++ b/candle-core/src/tensor.rs @@ -2025,7 +2025,11 @@ impl Tensor { } (Storage::Cpu(storage), Device::Cpu) => Storage::Cpu(storage.clone()), _ => { - bail!("not implemented yet") + bail!( + "not implemented yet, self.device: {:?}, device: {:?}", + self.device(), + device + ) } }; let op = BackpropOp::new1(self, Op::ToDevice); |