-
Notifications
You must be signed in to change notification settings - Fork 0
WIP Added unary ops #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #14 +/- ##
===========================================
+ Coverage 24.46% 36.19% +11.73%
===========================================
Files 8 10 +2
Lines 1206 1329 +123
===========================================
+ Hits 295 481 +186
+ Misses 911 848 -63 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
19ceee5
to
c681ce0
Compare
38e36c8
to
0e4de95
Compare
8d4ee5b
to
985b215
Compare
element_types = MLX.supported_number_types(MLX.DeviceTypeGPU) # TODO Excluding Float64 | ||
|
||
array_sizes = [ | ||
# (), # TODO: Excluded broadcasting over 0-dimensional Array: Yields scalar result |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broadcasting over a zero-dimensional array returns a scalar and not a zero-dimensional array in current Julia: JuliaLang/julia#28866
41d3de5
to
d0b3311
Compare
c08af56
to
28ee04b
Compare
d2e62ce
to
1e46f09
Compare
Also: * Added necessary eval of MLX array data in Base.unsafe_convert(::Type{Ptr{T}}, array::MLXArray{T, N}) * Implemented Base.similar for MLXArray. * Added supported_number_types(::DeviceType = DeviceTypeCPU)
* Workaround for sign on CPU for unsigned * Using Julia 1.10 compatible `ceil`, `floor`, and `round`: `ceil(T, x)` -> `T(ceil(x))`
1e46f09
to
7c062b3
Compare
No description provided.