added temp enc
Some checks failed
/ Tests (push) Failing after 5m16s

This commit is contained in:
2026-04-02 16:58:07 +05:30
parent 3ff3e88f75
commit de3f3990ee
10 changed files with 186 additions and 19 deletions

14
src/neurons/leaky.rs Normal file
View File

@@ -0,0 +1,14 @@
use burn::{Tensor, module::Module, prelude::Backend};
#[derive(Debug, Module, Clone, Default)]
pub struct LIF;
impl LIF {
pub fn new() -> Self {
Self
}
pub fn forward<B: Backend, const D: usize>(&self, input: Tensor<B, D>) -> Tensor<B, D> {
input
}
}