The Color of Magic
This release is named after "The Colour of Magic" (1983), the first book of Terry Pratchett masterpiece "Discworld".
I am very excited to announce the second release of Arraymancer which includes numerous improvements blablabla ...
Without further ado:
-
Community
- There is a Gitter room!
-
Breaking
shallowCopyis nowunsafeViewand acceptsletarguments- Element-wise multiplication is now
.*instead of|*| - vector dot product is now
dotinstead of.*
-
Deprecated
- All tensor initialization proc have their
Backendparameter deprecated. fmapis nowmapaggandagg_in_placeare nowfoldand nothing (too bad!)
- All tensor initialization proc have their
-
Initial support for Cuda !!!
- All linear algebra operations are supported
- Slicing (read-only) is supported
- Transforming a slice to a new contiguous Tensor is supported
-
Tensors
- Introduction of
unsafeoperations that works without copy:unsafeTranspose,unsafeReshape,unsafebroadcast,unsafeBroadcast2,unsafeContiguous, - Implicit broadcasting via
.+, .*, ./, .-and their in-place equivalent.+=, .-=, .*=, ./= - Several shapeshifting operations:
squeeze,atand theirunsafeversion. - New property:
size - Exporting:
export_tensorandtoRawSeq - Reduce and reduce on axis
- Introduction of
-
Ecosystem:
- I express my deep thanks to @edubart for testing Arraymancer, contributing new functions, and improving its overall performance. He built arraymancer-demos and arraymancer-vision,check those out you can load images in Tensor and do logistic regression on those!