mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-08 14:43:57 -05:00
sections
This commit is contained in:
16
README.md
16
README.md
@@ -8,14 +8,16 @@
|
||||
|
||||
For something in between a [pytorch](https://github.com/pytorch/pytorch) and a [karpathy/micrograd](https://github.com/karpathy/micrograd)
|
||||
|
||||
```
|
||||
pip3 install tinygrad
|
||||
```
|
||||
|
||||
This may not be the best deep learning framework, but it is a deep learning framework.
|
||||
|
||||
The Tensor class is a wrapper around a numpy array, except it does Tensor things.
|
||||
|
||||
### Installation
|
||||
|
||||
```bash
|
||||
pip3 install tinygrad
|
||||
```
|
||||
|
||||
### Example
|
||||
|
||||
```python
|
||||
@@ -78,6 +80,12 @@ optim.step()
|
||||
|
||||
tinygrad, with tests, will always be below 1000 lines. If it isn't, we will revert commits until tinygrad becomes smaller.
|
||||
|
||||
### Running tests
|
||||
|
||||
```bash
|
||||
python -m pytest
|
||||
```
|
||||
|
||||
### TODO
|
||||
|
||||
* Reduce code
|
||||
|
||||
Reference in New Issue
Block a user