forked from StrafesNET/strafe-ai
fix stupid
This commit is contained in:
@@ -48,8 +48,9 @@ impl<B: Backend> Net<B> {
|
||||
let input = LinearConfig::new(INPUT, last_size).init(device);
|
||||
let hidden = core::array::from_fn(|_| {
|
||||
let size = it.next().unwrap();
|
||||
let layer = LinearConfig::new(last_size, size).init(device);
|
||||
last_size = size;
|
||||
LinearConfig::new(last_size, size).init(device)
|
||||
layer
|
||||
});
|
||||
let output = LinearConfig::new(last_size, OUTPUT).init(device);
|
||||
Self {
|
||||
|
||||
Reference in New Issue
Block a user