1
0
Fork 0
pull/28/head
George Hotz 2020-10-27 08:10:51 -07:00
parent 4a663d31da
commit 716f86a572
1 changed files with 12 additions and 4 deletions

View File

@ -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