cavis/libnd4j/include/ops/declarable/helpers/cpu
shugeo 2aed216c2a
Eliminated error with resize implementation. (#418)
* Eliminated error with resize implementation.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored resize caller implementation.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored image.resize op helper.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added dumb implementations for missed resize methods.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added resize_images op. Refactored image_resize op.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored matrix_band_part op and test.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored resize_images op to comply with preserve_aspect_ratio flag properly.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored resize_images and tests for resizeArea method.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored resize methods and test.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added new methods for TF2 resize op.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Portion of resize algorithms from TF2

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added routine to process resize with given algorithm.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added new image resize via scale and translate process helper.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Cpu implementation for V2 image resize operation helpers.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added implementation for lancos5 algorithm of resize and test.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added prints for span computing.

Signed-off-by: shugeo <sgazeos@gmail.com>

* The first working implementation and tests for lancos5 resize.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Eliminated waste prints.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored image_resize op and tests."

Signed-off-by: shugeo <sgazeos@gmail.com>

* Lanczos3 resize implementation and tests.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Implemented bicubic resize algorithm and tests.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added a couple of tests and cosmetic changes with image resize helper.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added bilinear implementation for image resize.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored bicubic algorithm and also implement area and neighbor algoritms for image resize on cpu arch.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added a couple of tests for nearest neighbor and area resize.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Cosmetic changes for cpu implementation and added cuda implementation for resize methods.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Separated cuda implementation of v2 image resize.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added kernels for span calculation and span gathering with new image resize cuda implementation.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored cuda implementation of image resize kernels.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Finished the first working implementation of image resize op and tests.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Fixed resize_images and image_resize ops.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored shape construction and output validation.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Fixed test to properly initalized with float.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added 3D input opotunity for resize ops.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Fixed test for resize_images op.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Fixed test and call for resize_images op.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored image_resize op output data type handling for nearest neighbors method and tests.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Fixed issue with wrong resize method.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added checkup for wrong resize methods for resize ops.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored resize methods and test.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added output data type validation for given resize method.

Signed-off-by: shugeo <sgazeos@gmail.com>

* - ResizeMethod rearranged in order to match C++ side
- minor test fix

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Refactored resize_images op.

Signed-off-by: shugeo <sgazeos@gmail.com>

Co-authored-by: raver119@gmail.com <raver119@gmail.com>
2020-05-27 21:15:03 +03:00
..
compilation_units - new implementations for Index Reductions (#421) 2020-05-14 13:41:55 +03:00
compression Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
BarnesHutTsne.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
README.md Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
activations.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
addBias.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
adjust_hue.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
adjust_saturation.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
axis.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
batched_gemm.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
batchnorm.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
betaInc.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
clip.cpp Shyrma merge max ind (#443) 2020-05-12 07:47:09 +03:00
col2im.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
compare_elem.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
concat.cpp profiling of stack and unstack ops (#261) 2020-03-03 07:32:37 +03:00
confusion.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
convolutions_col2vol.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
convolutions_conv2d.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_conv2dBP.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_depthwiseConv2d.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_depthwiseConv2dBP.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_pooling2d.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_pooling2dBP.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_pooling3d.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_pooling3dBP.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_sconv2d.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_upsampling2d.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_upsampling2dBP.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_upsampling3d.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_upsampling3dBP.cpp Split convolutions implementations for compilation speed up (#339) 2020-03-23 07:30:26 +03:00
convolutions_vol2col.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
crop_and_resize.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
crop_and_resize.hpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
cross.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
d_t_s.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
diGamma.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
diag.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
dilation2d.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
dropout.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
dynamic.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
extract_patches.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
eye.cpp Backpropagation implementation of mergemax, mergeadd and mergeavg ops (#343) 2020-03-25 08:40:30 +03:00
fake_quantization.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
flatten.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
gather.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
gatherTransforms.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
gradient.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
hamming.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
hashcode.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
histogram.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
histogramFixedWidth.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
im2col.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
image_draw_bounding_boxes.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
image_resize.cpp Eliminated error with resize implementation. (#418) 2020-05-27 21:15:03 +03:00
image_suppression.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
imagesHelpers.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
indexReductions.cpp - new implementations for Index Reductions (#421) 2020-05-14 13:41:55 +03:00
indexReductions.hpp - new implementations for Index Reductions (#421) 2020-05-14 13:41:55 +03:00
invertPermutation.cpp Backpropagation implementation of mergemax, mergeadd and mergeavg ops (#343) 2020-03-25 08:40:30 +03:00
ismax.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
legacy_helper.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
lgamma.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
lrn.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
lstm.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
lstsq.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
lup.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
matrixSetDiag.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
matrix_band.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
matrix_diag_part.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
max_pooling.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
merge.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
meshgrid.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
minimax.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
nth_element.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
one_hot.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
pad.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
percentile.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
polyGamma.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
prefix.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
print_variable.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
qr.cpp libnd4j fixes for context sync in operation execution (#350) 2020-03-30 16:33:51 +03:00
random.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
randomShuffle.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
random_crop.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
range.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
reverse.cpp Shyrma merge max ind (#443) 2020-05-12 07:47:09 +03:00
roll.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
s_t_b.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
s_t_d.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
scatter.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
scatterUpdateAndSimple.cpp Backpropagation implementation of mergemax, mergeadd and mergeavg ops (#343) 2020-03-25 08:40:30 +03:00
segment.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
sequence_mask.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
sg_cb.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
shift.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
softmax.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
solve.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
split.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
sru.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
stack.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
svd.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
tile.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
toggle_bits.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
top_k.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
trace.cpp Backpropagation implementation of mergemax, mergeadd and mergeavg ops (#343) 2020-03-25 08:40:30 +03:00
triangular_solve.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
triu.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
updaterAdaDelta.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
updaterAdaGrad.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
updaterAdaMax.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
updaterAdam.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
updaterAmsGrad.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
updaterNadam.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
updaterNesterovs.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
updaterRmsProp.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
weights.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
zeta.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00

README.md

This folder contains OpenMP implementations for operations helpers. Basically suited for homogenous x86-like platforms.