cavis/libnd4j/include/ops/declarable/generic/linalg
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
..
betaInc.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
cholesky.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
cross.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
diag.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
diagPart.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
digamma.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
eye.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
lgamma.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
log1p.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
lstsq.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
lup.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
matrixDiagPart.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
matrixSetDiag.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
matrix_band_part.cpp Eliminated error with resize implementation. (#418) 2020-05-27 21:15:03 +03:00
matrix_determinant.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
matrix_diag.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
matrix_inverse.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
moments.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
polygamma.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
qr.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
solve.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
sqrtm.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
sufficient_statistics.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
svd.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
trace.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
tri.cpp Map C++ ops to Java (#392) 2020-04-25 23:56:02 +10:00
triangular_solve.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
triu.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
zeta.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00