Files
candle/candle-kernels/src
Thomas Santerre c5626b8271 Add support for "sign" on tensors (#2012)
* add the sign unary operator

* remove uneeded import

* remove uneeded import

* undo formatting

* undo formatting

* remove unnecessary redefintion

* allow gradient to flow through for sign and round

* fix cpu ops to ensure that negzero and positive zero are handled properly

* clippy fixes

* Properly avoid gradient tracking.

* Use a branchless version.

---------

Co-authored-by: laurent <laurent.mazare@gmail.com>
2024-04-04 22:32:47 +02:00
..
2024-03-20 18:32:55 +01:00
2023-08-23 10:42:19 +01:00
2023-08-10 17:46:47 +02:00
2024-02-12 15:03:18 +01:00
2024-04-01 00:15:48 +02:00
2023-08-23 10:42:19 +01:00