mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 19:58:35 +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>(
|
||||
|
@ -57,7 +57,6 @@ impl std::fmt::Debug for Tensor {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
/// Options for Tensor pretty printing
|
||||
pub struct PrinterOptions {
|
||||
precision: usize,
|
||||
|
Reference in New Issue
Block a user