* init commit

* finish writing

* add to docs

* fix docs

* fix typo

* delete new line

* rename to tensor properties

---------

Co-authored-by: George Hotz <[email protected]>
This commit is contained in:
Eitan Turok
2024-08-07 07:38:51 -07:00
committed by GitHub
co-authored by George Hotz
parent 39dda3d042
commit 39c8c9c00a
2 changed files with 126 additions and 7 deletions
+9
View File
@@ -111,3 +111,12 @@
::: tinygrad.Tensor.half
::: tinygrad.Tensor.int
::: tinygrad.Tensor.bool
## Tensor Properties
::: tinygrad.Tensor.ndim
::: tinygrad.Tensor.numel
::: tinygrad.Tensor.element_size
::: tinygrad.Tensor.nbytes
::: tinygrad.Tensor.is_floating_point
::: tinygrad.Tensor.size