MCPcopy Index your code
hub / github.com/araxnoid-code/ROTTA-rs

github.com/araxnoid-code/ROTTA-rs @0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.0 ↗ · + Follow
371 symbols 1,058 edges 141 files 55 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ROTTA-rs

A Deep Learning Library In Rust 🦀

Static Badge Current Crates.io Version license

🛠️ still in development stage 🛠️


⚙️ Create Your AI Model On Rust 🦀

ROTTA-rs was developed as an open-source deep learning library with the primary goal of providing an easy-to-use, lightweight, and flexible tool

fn main() {
    let tensor = Tensor::new([[0.1, 0.2, 0.3]]);
    println!("{}", tensor);
}

📦 Version 0.1.0

see more details about what's new in: 0.1.0

🧑‍💻 see other versions:

📌 Check all releases: Tags
📜 Full changelog: version.md

⚙️ Installation

ROTTA-rs can be installed directly through crates.io. To use it:

Or add the following line to your Cargo.toml 📁:

[dependencies]
rotta_rs = "0.1.0"

or

Run the following Cargo command in your project directory 💻️:

cargo add rotta_rs

🧠 Simple AI Model

use rotta_rs::*;

fn main() {
    let mut model = Module::init();
    let optimazer = Sgd::init(model.parameters(), 0.00001);
    let loss_fn = SSResidual::init();

    let linear = model.liniar_init(1, 1);
    let linear_2 = model.liniar_init(1, 1);

    let input = Tensor::new([[1.0], [2.0]]);
    let actual = Tensor::new([[1.0], [4.0]]);

    for epoch in 0..100 {
        let x = linear.forward(&input);
        let x = relu(&x);
        let output = linear_2.forward(&x);

        let loss = loss_fn.forward(&output, &actual);
        println!("epoch:{epoch} | loss => {loss}");

        optimazer.zero_grad();

        let backward = loss.backward();

        optimazer.optim(backward);
    }
}

🏫 Tutorial (currently only available in Indonesian)

Those who want to learn how to create AI can access: 📔 learn.md

📚 GUIDE

📘 Start Exploration: 🧭 GUIDE.md

🤖 Experimental Model

ROTTA-rs also has several AI models intended for testing and not for production.

See more details about: 🤖 Experimental Models

👍️ Support the Developer

If you find this project useful, you can support further development via:

🔗 saweria

🌐 Connect with Me

  • youtube

araxnoid

click here to go directly to youtube

  • tiktok

araxnoid

click here to go directly to tiktok

contact

  • Gmail

araxnoid0@gmail.com

📥 Dependencies

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 210
Function 118
Class 32
Interface 9
Enum 2

Languages

Rust100%

Modules by API surface

src/rotta_rs_module/arrayy/operation/method/mod.rs29 symbols
src/rotta_rs_module/tensor/method/operation.rs28 symbols
src/rotta_rs_module/tensor/tensor.rs27 symbols
src/rotta_rs_module/arrayy/array.rs12 symbols
src/rotta_rs_module/data_handler/datahandler.rs11 symbols
src/rotta_rs_module/module/module.rs7 symbols
src/rotta_rs_module/module/function/layer_norm/layer_norm.rs7 symbols
experimental_model/lstm_seq2seq/main.rs7 symbols
experimental_model/gru_seq2seq/main.rs7 symbols
src/rotta_rs_module/tensor/tensor_collection/tensor_range.rs6 symbols
src/rotta_rs_module/tensor/node.rs6 symbols
src/rotta_rs_module/tensor/function/sin_cos_tan.rs6 symbols

For agents

$ claude mcp add ROTTA-rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page