Files
candle/candle-kernels/src
MilkFather 3bbb88fcb4 Fix sigmoid gradient calculation and move sigmoid into a specialized op (#2114)
* add sigmoid op

* small fix

* add as a method on `Tensor`

* implement gradient calculation for sigmoid

* add sigmoid tests

* we should have a specialized op for this

* fix clippy

* fix clippy 2

* Revert all previous commits in favor of a `CustomOp` based solution

* use `CustomOp1` implementation

* fix rustfmt

* experimental add metal impl

* add cuda kernel impl

* fix fmt

* Add a test + reduce some cuda duplication.

---------

Co-authored-by: laurent <laurent.mazare@gmail.com>
2024-04-29 11:04:43 +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-27 20:17:35 +02:00
2024-04-05 08:32:58 +02:00
2024-04-27 20:17:35 +02:00
2023-08-23 10:42:19 +01:00