Files
candle/candle-nn/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-02-08 16:48:47 +01:00
2023-08-27 18:03:26 +01:00
2023-12-16 18:41:56 -06:00
2024-04-05 08:32:58 +02:00
2023-10-20 16:28:50 +01:00
2024-02-25 20:50:08 +01:00