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
shallowCopy
is nowunsafeView
and acceptslet
arguments- Element-wise multiplication is now
.*
instead of|*|
- vector dot product is now
dot
instead of.*
-
Deprecated
- All tensor initialization proc have their
Backend
parameter deprecated. fmap
is nowmap
agg
andagg_in_place
are nowfold
and 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
unsafe
operations that works without copy:unsafeTranspose
,unsafeReshape
,unsafebroadcast
,unsafeBroadcast2
,unsafeContiguous
, - Implicit broadcasting via
.+, .*, ./, .-
and their in-place equivalent.+=, .-=, .*=, ./=
- Several shapeshifting operations:
squeeze
,at
and theirunsafe
version. - New property:
size
- Exporting:
export_tensor
andtoRawSeq
- 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!