cavis/libnd4j/tests_cpu/layers_tests
shugeo 330a69d4e2
Shugeo solve ls (#203)
* lstsq op. Initial commit.

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

* Least squares linear problem solve op (lstsq). Cpu draft implementation.

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

* Fixed shape routine and tests.

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

* Added test for lstsq op.

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

* Rectification for lstsq op implementation.

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

* Corrected test to avoid numerical inconsistensy.

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

* Added prints for check computing.

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

* Corrected tests to use evalueate facility instead.

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

* CPU implementation of MatrixSolveLs op and tests.

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

* Added cuda implementation for helpers with lstsq op.

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

* Refactored tests for lstsq op.

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

* Added processing for empty inputs.

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

* Merged tests.

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

* Refactored lstsq op for fast case.

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

* Fixed test.

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

* Refactored lstsq op.

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

* Fixed some issues with solve.

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

* Fixed lstsq op to avoid erros.

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

* Added kernel for giagonal factor

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

* lstsq wrapper and triangular_solve fixed

* Added proper processing empty inputs and test.

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

* SequenceMask test

* Build fixed

* Added proper processing of empty inputs with solve op.

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

* Mapping added

* Added check of input shapes with solve op.

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

* Added a couple of tests for lstsq op and minor changes with cuda helper for one.'

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

* Tests on

* Refactored test for lstsq op.

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

* Fixed test

* Added another approach for lstsq op aka solve_ls.

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

* Finished cpu part for solve_ls op helpers.

* Added helper for low triangular matrix inversion.

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

* Refactored alternate solve_ls cpu implementation.

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

* Removed alternate approach for solve_ls op. Added multithreading with matrix inversion.

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

* Assert fixed

* Refactored multithreading for inverse matricies.

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

Co-authored-by: Alexander Stoyakin <alexander.stoyakin@gmail.com>
2020-02-28 11:37:26 +03:00
..
AllTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
ArrayOptionsTests.cpp [WIP] More of CUDA (#95) 2019-08-05 11:27:05 +10:00
AtomicTests.cu Shugeo atomic tests (#97) 2019-12-02 21:40:54 +03:00
AttentionTests.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
BackpropTests.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
BitwiseUtilsTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
BooleanOpsTests.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
BroadcastableOpsTests.cpp Broadcast perf improvements (#248) 2020-02-17 16:25:09 +03:00
BrodcastTests.cpp Broadcast perf improvements (#248) 2020-02-17 16:25:09 +03:00
CMakeLists.txt R119 tests (#238) 2020-02-13 20:59:35 +03:00
CnpyTests.cpp Refactor NativeOps.h to export C functions 2019-08-05 11:22:59 +10:00
ConditionalTests.cpp [WIP] ThreadPool (#8) 2019-11-13 17:04:59 +03:00
ConstantShapeHelperTests.cpp Shugeo unordered map (#256) 2020-02-24 07:51:01 +03:00
ContextTests.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
ConvolutionTests1.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
ConvolutionTests2.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
CuDnnTests.cu Shyrma cudnn (#192) 2020-01-28 18:23:07 +03:00
CudaBasicsTests1.cu Oleh convert (#200) 2020-01-31 16:30:49 +03:00
CudaBasicsTests2.cu Shyrma svd (#191) 2019-08-28 18:27:08 +03:00
CudaExtraArgumentsTests.cu Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
CudaLaunchHelperTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
DataBufferTests.cpp two tests fixes 2020-01-24 15:26:46 +03:00
DataBufferTestsCuda.cu Shugeo resize area fix2 (#181) 2020-01-24 20:55:25 +03:00
DataTypesValidationTests.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
DeclarableOpsTests1.cpp Shyrma mkl matmul (#250) 2020-02-18 08:58:01 +03:00
DeclarableOpsTests2.cpp Shyrma mkl matmul (#250) 2020-02-18 08:58:01 +03:00
DeclarableOpsTests3.cpp Shyrma mkl matmul (#250) 2020-02-18 08:58:01 +03:00
DeclarableOpsTests4.cpp Shyrma mkl matmul (#250) 2020-02-18 08:58:01 +03:00
DeclarableOpsTests5.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
DeclarableOpsTests6.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
DeclarableOpsTests7.cpp Shyrma mkl matmul (#250) 2020-02-18 08:58:01 +03:00
DeclarableOpsTests8.cpp Configurable DataType for ops (#201) 2020-01-30 18:46:12 +03:00
DeclarableOpsTests9.cpp profiling of concat op (both cuda and cpu) (#151) 2020-02-20 21:19:01 +03:00
DeclarableOpsTests10.cpp R119 tests (#238) 2020-02-13 20:59:35 +03:00
DeclarableOpsTests11.cpp Shugeo solve ls (#203) 2020-02-28 11:37:26 +03:00
DeclarableOpsTests12.cpp Shugeo solve ls (#203) 2020-02-28 11:37:26 +03:00
DeclarableOpsTests13.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
DeclarableOpsTests14.cpp Oleh broadcast4d (#257) 2020-02-21 07:46:05 +03:00
DeclarableOpsTests15.cpp R119 tests (#238) 2020-02-13 20:59:35 +03:00
DeclarableOpsTests16.cpp Configurable DataType for ops (#201) 2020-01-30 18:46:12 +03:00
DeclarableOpsTests17.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
DeclarableOpsTests18.cpp Perf improvements (#242) 2020-02-14 16:20:31 +03:00
DeclarableOpsTests19.cpp Perf improvements (#242) 2020-02-14 16:20:31 +03:00
DeclarableOpsTestsCuda1.cu DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
EmptyTests.cpp Shyrma transpose (#244) 2020-02-17 08:04:28 +03:00
ExtraArgumentsTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
FlatBuffersTests.cpp Rename flatbuffers DataType to DType (#228) 2019-09-04 16:36:11 +10:00
FlatUtilsTests.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
GraphExecutionerTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
GraphHolderTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
GraphRandomGeneratorTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
GraphStateTests.cpp [WIP] More of CUDA (#95) 2019-08-05 11:27:05 +10:00
GraphTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
HashUtilsTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
HelpersTests1.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
IndexingTests.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
JavaInteropCudaTests.cu [WIP] ThreadPool (#8) 2019-11-13 17:04:59 +03:00
JavaInteropTests.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
LambdaTests.cu Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
LaunchContextCudaTests.cu [WIP] multi-device support (#80) 2019-08-14 16:52:34 +03:00
LegacyOpsCudaTests.cu Refactor NativeOps.h to export C functions 2019-08-05 11:22:59 +10:00
LegacyOpsTests.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
ListOperationsTests.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
LoopCoordsHelperTests.cpp Initial performance improvement for Bias Add and etc #8556 (#217) 2020-02-08 15:31:30 +03:00
MemoryUtilsTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
MklDnnTests.cpp Shyrma mkl matmul (#250) 2020-02-18 08:58:01 +03:00
MmapTests.cpp [WIP] More of CUDA (#95) 2019-08-05 11:27:05 +10:00
MultiDataTypeTests.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
MultiDeviceTests.cpp [WIP] cross-device migrations (#134) 2019-08-20 18:52:41 +03:00
NDArrayConstructorsTests.cu Oleh convert (#200) 2020-01-31 16:30:49 +03:00
NDArrayCudaBasicsTests.cu Oleh convert (#200) 2020-01-31 16:30:49 +03:00
NDArrayListTests.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
NDArrayTests.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
NDArrayTests2.cpp profiling of concat op (both cuda and cpu) (#151) 2020-02-20 21:19:01 +03:00
NativeOpsTests.cpp Configurable DataType for ops (#201) 2020-01-30 18:46:12 +03:00
NlpTests.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
NodeTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
OmpLaunchHelperTests.cpp [WIP] ThreadPool (#8) 2019-11-13 17:04:59 +03:00
OneOffTests.cpp [WIP] bunch of improvements (#257) 2019-09-11 20:12:09 +03:00
OpTrackerTests.cpp Create C wrappers for some of the C++ classes currently used by ND4J 2019-08-05 11:22:59 +10:00
OpTupleTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
PairwiseTests.cpp [WIP] MSVC-related tests fixes (#88) 2019-11-30 16:02:07 +03:00
ParityOpsTests.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
PerformanceTests.cpp Shyrma mmul (#58) 2019-11-19 15:39:36 +02:00
PlaygroundTests.cpp VariableSpace uses unordered maps as well (#270) 2020-02-24 21:58:23 +03:00
ProtoBufTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
QuantizationTests.cpp [WIP] multi-device support (#80) 2019-08-14 16:52:34 +03:00
RNGTests.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
ReduceTests.cpp [WIP] MSVC-related tests fixes (#88) 2019-11-30 16:02:07 +03:00
ResultSetTests.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
SanityTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
ScalarTests.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
ScopeTests.cpp [WIP] More of CUDA (#95) 2019-08-05 11:27:05 +10:00
ServerRelatedTests.cpp [WIP] More of CUDA (#95) 2019-08-05 11:27:05 +10:00
SessionLocalTests.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
ShapeTests.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
ShapeTests2.cpp profiling of concat op (both cuda and cpu) (#151) 2020-02-20 21:19:01 +03:00
ShapeUtilsTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
SingleDimTests.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
SortCpuTests.cpp Refactor NativeOps.h to export C functions 2019-08-05 11:22:59 +10:00
SortCudaTests.cu Shyrma docs (#222) 2019-09-02 16:25:58 +03:00
SparseUtilsTest.cpp [WIP] More of CUDA (#95) 2019-08-05 11:27:05 +10:00
StashTests.cpp Shugeo unordered map (#256) 2020-02-24 07:51:01 +03:00
StringTests.cpp Oleh convert (#200) 2020-01-31 16:30:49 +03:00
SwitchTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
TadTests.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
ThreadsTests.cpp - 3d loops parallelism fix (#135) 2019-12-19 16:50:08 +03:00
TypeCastTests.cpp [WIP] multi-device support (#80) 2019-08-14 16:52:34 +03:00
VariableProxyTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
VariableSpaceTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
VariableTests.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
WorkspaceTests.cpp [WIP] ThreadPool (#8) 2019-11-13 17:04:59 +03:00
WorkspaceTests.cu Shugeo_release_fixes3 (#81) 2019-11-28 21:08:51 +03:00
suppressions.txt Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
testinclude.h Various fixes (#43) 2019-11-14 19:38:20 +11:00
testlayers.h minor fix for msvc 2019-08-21 16:34:07 +03:00