Crates.io | poro |
lib.rs | poro |
version | 0.1.2 |
source | src |
created_at | 2024-06-03 02:07:20.880481 |
updated_at | 2024-06-19 22:06:13.014351 |
description | A simple toy neural network library |
homepage | |
repository | https://github.com/tuckerbmorgan/hermes |
max_upload_size | |
id | 1259615 |
size | 865,170 |
Poro is a simple toy neural network library implemented in Rust. It is designed for educational purposes and provides basic functionality to create, train, and evaluate neural networks. This library is not intended for production use but serves as a learning tool for those interested in understanding the fundamentals of neural networks and their implementation.
Ensure you have Rust installed on your system. You can install Rust using rustup.
To use Poro, add the following to your Cargo.toml
:
[dependencies]
poro = "0.1.1"
Here is a simple example to get you started with Poro:
use Poro::model::Model;
use Poro::tensor::Tensor;
use Poro::operation::Operation;
fn main() {
// Create a simple neural network
let model = Model::new();
// Define input tensor
let input = Tensor::new(vec![1.0, 2.0, 3.0]);
// Perform a forward pass
let output = model.forward(input);
// Print the output
println!("{:?}", output);
}
Contributions are welcome! Please feel free to submit a pull request or open an issue to discuss any changes or additions.
Poro is licensed under the MIT License. See the LICENSE file for more information.