Python bindings for ArrayFire: A general purpose GPU library.
fp16
- half precision floating point support has been added - #221
Confidence Connected Components confidenceCC
- #221
Deconvolutions - #221
Reduction using keys - #221
Neural network based convolution and gradient functions - #221
Support for uniform ranges in approx1 and approx2 functions - #234
Array class methods - #233
Window.set_axes_label_format
- #221
gemm
- #234
meanvar
- #221
pad
- #221
pinverse
- #221
rsqrt
- #221
set_cublas_mode
- #221
maxRagged
- #221
New Examples
create_sparse_from_host
- #198bench_cg
example on less capable GPUs - #200Array.device_ptr
function documentation - #210anisotropic_diffusion()
: Anisotropic diffusion filter.topk()
: Returns top-K elements given an array.sift()
and gloh()
, which were improperly calling the library.len()
method, which returns array.elements()
.sign()
documentation.helloworld
example to match C++ lib.Includes fix for arrayfire.canny.
Feature parity with ArrayFire 3.5.
canny
: Canny Edge detectorArray.scalar
: Return the first element of the arraydot
: Now support option to return scalarprint_mem_info
: Prints memory being used / locked by arrayfire memory manager.Array.allocated
: Returs the amount of memory allocated for the given buffer.set_fft_plan_cache_size
: Sets the size of the fft plan cache.Bug Fixes:
sort_by_key
had key and value flipped in documentation.Improvements and bugfixes from upstream include:
approx1
.hamming_matcher
and nearest_neighbour
.create_sparse
create_sparse_from_dense
create_sparse_from_host
convert_sparse_to_dense
convert_sparse
sparse_get_info
sparse_get_nnz
sparse_get_values
sparse_get_row_idx
sparse_get_col_idx
sparse_get_storage
RANDOM_ENGINE.PHILOX
, RANDOM_ENGINE.THREEFRY
, and RANDOM_ENGINE.MERSENNE
.randu
and randn
now accept an additional engine parameter.set_default_random_engine_type
get_default_random_engine
eval
now supports fusing kernels.plot
updated to take new parameters.plot2
added.scatter
updated to take new parameters.scatter2
added.vector_field
added.set_axes_limits
added.af.histogram
gaussian_kernel
Array.T
now returns transposeArray.H
now returns hermitian transposeArray.shape
now allows easier access individual dimensions