{"id":17874443,"url":"https://github.com/fl03/ndtensor","last_synced_at":"2026-01-06T05:04:06.412Z","repository":{"id":235997544,"uuid":"786256265","full_name":"FL03/ndtensor","owner":"FL03","description":"ndtensor is designed to be a flexible and powerful tensor library for Rust","archived":false,"fork":false,"pushed_at":"2024-05-25T19:31:28.000Z","size":154,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T03:03:49.654Z","etag":null,"topics":["data-structures","ndarray","rust","tensor"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/ndtensor","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FL03.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["FL03"],"open_collective":"pzzld"}},"created_at":"2024-04-13T22:24:15.000Z","updated_at":"2024-04-25T06:34:35.000Z","dependencies_parsed_at":"2024-11-10T10:47:03.798Z","dependency_job_id":null,"html_url":"https://github.com/FL03/ndtensor","commit_stats":null,"previous_names":["fl03/ndtensor"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FL03%2Fndtensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FL03%2Fndtensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FL03%2Fndtensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FL03%2Fndtensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FL03","download_url":"https://codeload.github.com/FL03/ndtensor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245407815,"owners_count":20610238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-structures","ndarray","rust","tensor"],"created_at":"2024-10-28T11:08:55.658Z","updated_at":"2026-01-06T05:04:06.408Z","avatar_url":"https://github.com/FL03.png","language":"Rust","readme":"# ndtensor\n\n[![crates.io](https://img.shields.io/crates/v/ndtensor?style=for-the-badge\u0026logo=rust)](https://crates.io/crates/ndtensor)\n[![docs.rs](https://img.shields.io/docsrs/ndtensor?style=for-the-badge\u0026logo=docs.rs)](https://docs.rs/ndtensor)\n[![GitHub License](https://img.shields.io/github/license/FL03/ndtensor?style=for-the-badge\u0026logo=github)](https://github.com/FL03/ndtensor/blob/main/LICENSE)\n\n***\n\n_**Warning: The library still in development and is not yet ready for production use.**_\n\n**Note:** It is important to note that a primary consideration of the `ndtensor` framework is ensuring compatibility in two key areas:\n\n- `autodiff`: the upcoming feature enabling rust to natively support automatic differentiation.\n- [`ndarray`](https://docs.rs/ndarray): The crate is designed around the `ndarray` crate, which provides a powerful N-dimensional array type for Rust\n\n## Overview\n\n### Goals\n\n- Provide a flexible and extensible framework for building neural network models in Rust.\n- Support both shallow and deep neural networks with a focus on modularity and reusability.\n- Enable easy integration with other libraries and frameworks in the Rust ecosystem.\n\n### Roadmap\n\n- [ ] **v1**:\n  - [ ] **`ParamsBase`**: Design a basic structure for storing model parameters.\n  - [ ]  **Traits**: Create a set of traits for defining the basics of a neural network model.\n    - `Forward` and `Backward`: traits defining forward and backward propagation\n    - `Model`: A trait for defining a neural network model.\n    - `Predict`: A trait extending the basic [`Forward`](cnc::Forward) pass.\n    - `Train`: A trait for training a neural network model.\n- [ ] **v2**:\n  - [ ] **Models**:\n    - `Trainer`: A generic model trainer that can be used to train any model.\n  - [ ] **Layers**: Implement a standard model configuration and parameters.\n    - `LayerBase`: _functional_ wrappers for the `ParamsBase` structure.\n\n## Usage\n\n### Adding to your project\n\nTo use `ndtensor` in your project, add the following to your `Cargo.toml`:\n\n```toml\n[dependencies.ndtensor]\nfeatures = [\"full\"]\nversion = \"0.1.x\"\n```\n\n### Examples\n\n#### **Example (1)**: Basic Usage\n\n```rust\n\n```\n\n## Getting Started\n\n### Prerequisites\n\nTo use `ndtensor`, you need to have the following installed:\n\n- [Rust](https://www.rust-lang.org/tools/install) (version 1.85 or later)\n\n### Installation\n\nYou can install the `rustup` toolchain using the following command:\n\n```bash\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n```\n\nAfter installing `rustup`, you can install the latest stable version of Rust with:\n\n```bash\nrustup install stable\n```\n\nYou can also install the latest nightly version of Rust with:\n\n```bash\nrustup install nightly\n```\n\n### Building from the source\n\nStart by cloning the repository\n\n```bash\ngit clone https://github.com/FL03/ndtensor.git\n```\n\nThen, navigate to the `ndtensor` directory:\n\n```bash\ncd ndtensor\n```\n\n#### _Using the `cargo` tool_\n\nTo build the crate, you can use the `cargo` tool. The following command will build the crate with all features enabled:\n\n```bash\ncargo build -r --locked --workspace --features full\n```\n\nTo run the tests, you can use the following command:\n\n```bash\ncargo test -r --locked --workspace --features full\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n- [Apache-2.0](https://choosealicense.com/licenses/apache-2.0/)\n- [MIT](https://choosealicense.com/licenses/mit/)\n","funding_links":["https://github.com/sponsors/FL03","https://opencollective.com/pzzld"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffl03%2Fndtensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffl03%2Fndtensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffl03%2Fndtensor/lists"}