Files
mlx/python/tests
Bhargav Yagnik a098bc92e0 Fix: Preserve input dtype in Dropout layer output (#1323)
* Fix: Preserve input dtype in Dropout layer output

- Modified Dropout implementation to ensure that the output dtype matches the input dtype.
- This resolves the issue #1321

* Update test cases in test_nn.py

- Revised test cases to align with updated dropout code
- Fixed assertion method: replaced self.assertTrue with self.assertEqual for accurate comparisons in test_nn.py -> test_rope, test_alibi and test_dropout,

* updated dropout.py
2024-08-13 11:54:21 -07:00
..
2024-07-26 10:40:49 -07:00
2024-07-10 18:00:01 -07:00
2024-06-14 09:52:26 -07:00
2024-07-26 10:40:49 -07:00
2024-07-25 09:36:44 -07:00
2024-06-11 14:35:12 -07:00
2024-01-08 16:39:08 -08:00
2024-01-30 13:11:01 -08:00
2024-02-25 08:39:55 -08:00
2024-08-06 11:23:10 -07:00
2024-08-05 20:12:27 -07:00