# Tuphium

GPU-accelerated graphics library for ML in Rust

## Get started

1. Build

    ```bash
    cargo build
    ```

2. Run examples

    ```bash
    cargo run --example mlp
    ```

3. Run tests

    Run all tests:
    ```bash
    cargo test
    ```

    Run a specific test module:
    ```bash
    cargo test autograd_tests
    ```

    Run a single test by name:
    ```bash
    cargo test autograd_tests::test_add
    ```

    Run tests with output printed (useful for CSV tests):
    ```bash
    cargo test -- --nocapture
    ```

4. Open the documentation

    Build the API docs and open them in your browser:
    ```bash
    cargo doc --open
    ```

    Build only this crate's docs (skip dependencies):
    ```bash
    cargo doc --no-deps --open
    ```
