maidenx 0.1.0

Rust ML Framework for Maiden Engine
Documentation
# Supported Functions

Blank: Upcoming support
✓: Supported
✗: Not supported

## DType

| Data type | DType |
|---|---|
| 16-bit floating point | `maidenx::bfloat16` |
| 16-bit floating point | `maidenx::float16` or `maidenx::half` |
| 32-bit floating point | `maidenx::float32` |
| 64-bit floating point | `maidenx::float64` |
| boolean | `maidenx::bool` (only support logical operations) |
| 8-bit integer (unsigned) | `maidenx::uint8` |
| 16-bit integer (unsigned) | not supported |
| 32-bit integer (unsigned) | `maidenx::uint32` |
| 64-bit integer (unsigned) | not supported |
| 8-bit integer (signed) | `maidenx::int8` |
| 16-bit integer (signed) | not supported |
| 32-bit integer (signed) | `maidenx::int32` |
| 64-bit integer (signed) | `maidenx::int64` |

<br/>

## Tensor

### Tensor Operations

| Category | Name | Autograd | CPU | CUDA |
|---|---|---|---|---|
| **Binary Operations** |
|            | `add`              ||||
|            | `sub`              ||||
|            | `mul`              ||||
|            | `div`              ||||
| logical operations |
|            | `logical_and`      ||||
|            | `logical_or`       ||||
|            | `logical_xor`      ||||
| comparison operations |
|            | `eq`               ||||
|            | `ne`               ||||
|            | `lt`               ||||
|            | `le`               ||||
|            | `gt`               ||||
|            | `ge`               ||||
| matrix multiplication |
|            | `matmul`           ||||
| in-place |
|            | `add_`             ||||
|            | `sub_`             ||||
|            | `mul_`             ||||
|            | `div_`             ||||
| **Unary Operations** |
|            | `neg`              ||||
|            | `abs`              ||||
|            | `sign`             ||||
|            | `square`           ||||
|            | `sqrt`             ||||
|            | `relu`             ||||
|            | `sigmoid`          ||||
|            | `tanh`             ||||
| logical operations |
|            | `logical_not`      ||||
| with constant |
|            | `add_scalar`       ||||
|            | `sub_scalar`       ||||
|            | `mul_scalar`       ||||
|            | `div_scalar`       ||||
|            | `pow`              ||||
| comparison operations |
|            | `eq_scalar`        ||||
|            | `ne_scalar`        ||||
|            | `lt_scalar`        ||||
|            | `le_scalar`        ||||
|            | `gt_scalar`        ||||
|            | `ge_scalar`        ||||
| **Reduction Operations** |
|            | `sum`              ||||
|            | `sum_all`          ||||
|            | `sum_to_shape`     ||||
|            | `mean`             ||||
|            | `mean_all`         ||||
| **Transform Operations** |
| view operations |
|            | `view`             ||||
|            | `squeeze`          ||||
|            | `squeeze_all`      ||||
|            | `unsqueeze`        ||||
|            | `transpose`        ||||
| reshape operations |
|            | `reshape`          ||||
|            | `broadcast`        ||||
|            | `broadcast_left`   ||||

<br/>

### Tensor Functions

| Category | Name | CPU | CUDA |
|---|---|---|---|
| **Util Functions** |
|            | `is_contiguous`    |||
|            | `contiguous`       |||

<br/>

## Neural Networks

### Layers

| Category | Name | CPU | CUDA |
|---|---|---|---|
| **Linear Layers** |
|            | `Linear`           |||
| **Convolution Layers** |
|            | `Conv2d`           |||
| **Functional Layers** |
|            | `ReLU`             |||
|            | `Sigmoid`          |||
|            | `Tanh`             |||

<br/>

### Loss Layers

| Category | Name | CPU | CUDA |
|---|---|---|---|
|            | `Huber`            |||
|            | `MAE`              |||
|            | `MSE`              |||

<br/>

### Optimizer

| Category | Name | CPU | CUDA |
|---|---|---|---|
|            | `Adam`             |||
|            | `SGD`              |||