diff options
Diffstat (limited to 'candle-core/src')
-rw-r--r-- | candle-core/src/cuda_backend.rs | 2 | ||||
-rw-r--r-- | candle-core/src/display.rs | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/candle-core/src/cuda_backend.rs b/candle-core/src/cuda_backend.rs index 9fc4ceca..c2d01a07 100644 --- a/candle-core/src/cuda_backend.rs +++ b/candle-core/src/cuda_backend.rs @@ -470,7 +470,6 @@ impl Map1 for Elu { } } -#[allow(dead_code)] struct Sum<'a>(&'a [usize]); impl<'a> Map1 for Sum<'a> { fn f<T: DeviceRepr + WithDType + ValidAsZeroBits>( @@ -507,7 +506,6 @@ impl<'a> Map1 for Sum<'a> { } } -#[allow(dead_code)] struct FastSum<'a>(&'a [usize]); impl<'a> Map1 for FastSum<'a> { fn f<T: DeviceRepr + WithDType + ValidAsZeroBits>( diff --git a/candle-core/src/display.rs b/candle-core/src/display.rs index 127e55b0..f5c77e4b 100644 --- a/candle-core/src/display.rs +++ b/candle-core/src/display.rs @@ -57,7 +57,6 @@ impl std::fmt::Debug for Tensor { } } -#[allow(dead_code)] /// Options for Tensor pretty printing pub struct PrinterOptions { precision: usize, |