cavis/libnd4j/tests_cpu/layers_tests
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
..
AllTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
ArrayOptionsTests.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
AtomicTests.cu compression ops (#436) 2020-05-08 20:59:39 +03:00
AttentionTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
BackpropTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
BitwiseUtilsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
BooleanOpsTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
BroadcastableOpsTests.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
BrodcastTests.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
CMakeLists.txt stop using static library for tests (#450) 2020-05-12 07:48:29 +03:00
CnpyTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ConditionalTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ConstantShapeHelperTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ContextTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ConvolutionTests1.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
ConvolutionTests2.cpp Shyrma weights format (#329) 2020-03-20 12:11:27 +03:00
CuDnnTests.cu Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
CudaBasicsTests1.cu [WIP] minor fixes (#447) 2020-05-11 15:41:43 +03:00
CudaBasicsTests2.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
CudaExtraArgumentsTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
CudaLaunchHelperTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
DataBufferTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
DataBufferTestsCuda.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
DataTypesValidationTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOpsTests1.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
DeclarableOpsTests2.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOpsTests3.cpp Shyrma merge max ind (#443) 2020-05-12 07:47:09 +03:00
DeclarableOpsTests4.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
DeclarableOpsTests5.cpp Shyrma merge max ind (#443) 2020-05-12 07:47:09 +03:00
DeclarableOpsTests6.cpp Shyrma merge max ind (#443) 2020-05-12 07:47:09 +03:00
DeclarableOpsTests7.cpp Shugeo segment fix4 (#385) 2020-04-20 09:04:35 +03:00
DeclarableOpsTests8.cpp Shyrma merge max ind (#443) 2020-05-12 07:47:09 +03:00
DeclarableOpsTests9.cpp Shyrma merge max ind (#443) 2020-05-12 07:47:09 +03:00
DeclarableOpsTests10.cpp Eliminated error with resize implementation. (#418) 2020-05-27 21:15:03 +03:00
DeclarableOpsTests11.cpp Eliminated error with resize implementation. (#418) 2020-05-27 21:15:03 +03:00
DeclarableOpsTests12.cpp Eliminated error with resize implementation. (#418) 2020-05-27 21:15:03 +03:00
DeclarableOpsTests13.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
DeclarableOpsTests14.cpp - correct reshape op for empty shapes (#354) 2020-04-01 15:13:34 +11:00
DeclarableOpsTests15.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
DeclarableOpsTests16.cpp Shyrma merge max ind (#443) 2020-05-12 07:47:09 +03:00
DeclarableOpsTests17.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOpsTests18.cpp xw_plus_b mkldnn implementation (#247) 2020-03-31 13:03:10 +03:00
DeclarableOpsTests19.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
DeclarableOpsTestsCuda1.cu Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
EmptyTests.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
ExtraArgumentsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
FlatBuffersTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
FlatUtilsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
GraphExecutionerTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
GraphHolderTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
GraphRandomGeneratorTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
GraphStateTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
GraphTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
HashUtilsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
HelpersTests1.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
HelpersTests2.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
IndexingTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
JavaInteropCudaTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
JavaInteropTests.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
LambdaTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LaunchContextCudaTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyOpsCudaTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyOpsTests.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
ListOperationsTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
LoopCoordsHelperTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
MemoryUtilsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
MklDnnTests.cpp MKLDNN tweaks (#415) 2020-04-27 17:37:53 +03:00
MmapTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
MultiDataTypeTests.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
MultiDeviceTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
NDArrayConstructorsTests.cu Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
NDArrayCudaBasicsTests.cu Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
NDArrayListTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
NDArrayTests.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
NDArrayTests2.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
NativeOpsTests.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
NlpTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
NodeTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OmpLaunchHelperTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OneOffTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OpTrackerTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OpTupleTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
PairwiseTests.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
ParityOpsTests.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
PerformanceTests.cpp MKLDNN tweaks (#415) 2020-04-27 17:37:53 +03:00
PlaygroundTests.cpp FP Mod (#468) 2020-05-16 10:44:58 +03:00
PrimitivesTests.cpp FP Mod (#468) 2020-05-16 10:44:58 +03:00
ProtoBufTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
QuantizationTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
RNGTests.cpp Shyrma sqrtm (#429) 2020-05-14 18:06:13 +03:00
ResultSetTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SanityTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ScalarTests.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
ScopeTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ServerRelatedTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SessionLocalTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ShapeTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
ShapeTests2.cpp profiling of stack and unstack ops (#261) 2020-03-03 07:32:37 +03:00
ShapeUtilsTests.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
SingleDimTests.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
SortCpuTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SortCudaTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SparseUtilsTest.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
StashTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
StringTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SwitchTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
TadTests.cpp Legacy API changes (#441) 2020-05-09 08:06:14 +03:00
ThreadsTests.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
TypeCastTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
VariableProxyTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
VariableSpaceTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
VariableTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
WorkspaceTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
WorkspaceTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
suppressions.txt Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
testinclude.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
testlayers.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00