mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 02:58:50 +00:00
Remove some dead-code pragmas. (#137)
This commit is contained in:
@ -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>(
|
||||
|
Reference in New Issue
Block a user