From ee4d242f2220bd34aeec776355bbfc57ec31342a Mon Sep 17 00:00:00 2001 From: Phani Pavan K Date: Thu, 28 May 2026 15:29:37 +0530 Subject: [PATCH] fix clippy suggestions --- src/neurons/leaky.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/neurons/leaky.rs b/src/neurons/leaky.rs index e81d040..20eaafd 100644 --- a/src/neurons/leaky.rs +++ b/src/neurons/leaky.rs @@ -14,7 +14,7 @@ pub struct LIFConfig { } impl LIFConfig { - pub fn init(&self) -> LIF { + pub fn init(&self) -> LIF { LIF { beta: self.beta, threshold: self.threshold, @@ -24,6 +24,7 @@ impl LIFConfig { } // TODO: tensor cloning and its lifecycle is probably wrong, may cause comp graph to drop. Refer burn example to find proper tensor handling.. +#[allow(clippy::upper_case_acronyms)] #[derive(Debug, Module, Clone)] pub struct LIF { beta: f32,