Files
candle/candle-core/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
..
2023-09-19 19:54:28 +01:00
2024-04-23 13:23:27 +02:00
2024-04-27 20:17:35 +02:00
2024-04-23 13:23:27 +02:00
2023-08-23 10:42:19 +01:00
2024-04-23 13:23:27 +02:00
2024-04-23 13:23:27 +02:00
2024-04-23 13:23:27 +02:00
2023-12-17 05:20:05 -06:00
2024-02-18 19:33:55 +01:00
2024-03-26 17:05:26 +01:00
2024-04-28 08:18:04 +02:00
2024-04-23 13:23:27 +02:00
2023-11-20 14:38:35 +01:00