Crates.io | skynet_ai |
lib.rs | skynet_ai |
version | 0.1.2 |
source | src |
created_at | 2023-10-14 17:22:03.241622 |
updated_at | 2023-12-17 21:48:16.784724 |
description | A library for creating neural networks. |
homepage | |
repository | https://gitlab.com/oglo-crates/skynet-ai |
max_upload_size | |
id | 1003228 |
size | 8,656 |
A library for creating and training neural networks.
use skynet_ai::*;
fn main() {
let network = Network::new(&vec![
(2, Activation::ReLU),
(3, Activation::ReLU),
(3, Activation::ReLU),
(3, Activation::ReLU),
(2, Activation::ReLU),
]);
let input = vec![6.2, 1.7];
let output = network.forward(&input);
println!("{:?} -> {:?}", input, output);
}