tinygrad/docs/tensor
geohotstan 1d64c12f2b
add Topk to tensor (#9343)
* terrible but somewhat working impl

* linux behaves differently than macos?

* slightly better impl

* small clean up; haven't figured this out yet

* better

* torch has different behavior on linux and macos for duplicated values

* add sum docs

* fix test

* add torch return_type test

* add an exception test

* wrap_fxn instead, and move op lower in order

* better repeated values test

* rerun ci
2025-03-09 20:01:42 -04:00
..
creation.md add Tensor.linspace (#7609) 2024-11-12 10:29:36 +08:00
elementwise.md leakyrelu to leaky_relu (#9270) 2025-02-26 13:22:08 -05:00
index.md improvements to docs 2024-08-07 09:57:24 -07:00
movement.md add Tensor.roll and Tensor.rearrange to doc (#8454) 2024-12-30 20:25:50 -05:00
ops.md add Topk to tensor (#9343) 2025-03-09 20:01:42 -04:00
properties.md non controversial changes from optim branch [pr] (#8234) 2024-12-13 19:24:16 -08:00