cavis/libnd4j/include/ops/declarable
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
..
generic Eliminated error with resize implementation. (#418) 2020-05-27 21:15:03 +03:00
headers Eliminated error with resize implementation. (#418) 2020-05-27 21:15:03 +03:00
helpers Eliminated error with resize implementation. (#418) 2020-05-27 21:15:03 +03:00
impl Shyrma merge max ind (#443) 2020-05-12 07:47:09 +03:00
platform mkldnn concat call cases correction (#471) 2020-05-19 21:56:41 +03:00
BooleanOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
BroadcastableBoolOp.h Few fixes (#361) 2020-04-06 21:01:59 +03:00
BroadcastableOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
CustomOperations.h compression ops (#436) 2020-05-08 20:59:39 +03:00
DeclarableCustomOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
DeclarableListOp.h Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOp.h Nullify (#304) 2020-03-20 08:49:28 +03:00
DeclarableReductionOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
EmptyHandling.h Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
LegacyBroadcastBoolOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyBroadcastOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyIndexReduceOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyPairwiseTransformBoolOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyPairwiseTransformOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyRandomOp.h benchmarks fixes (#321) 2020-03-16 10:31:06 +03:00
LegacyReduce3Op.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyReduceBoolOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyReduceFloatOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyReduceLongOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyReduceOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyReduceSameOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyScalarBoolOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyScalarOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyStatsOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformAnyOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformBoolOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformFloatOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformSameOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformStrictOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LogicOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OpDescriptor.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OpRegistrator.h Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
OpTuple.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
PlatformHelper.h Nullify (#304) 2020-03-20 08:49:28 +03:00