cavis/libnd4j/include/ops/declarable/generic/parity_ops
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
..
adjust_contrast.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
adjust_hue.cpp [WIP] HSV,RGB color model conversions (#125) 2019-12-17 09:42:09 +03:00
adjust_saturation.cpp [WIP] HSV,RGB color model conversions (#125) 2019-12-17 09:42:09 +03:00
argmax.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
argmin.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
assert.cpp Shugeo_release_fixes3 (#81) 2019-11-28 21:08:51 +03:00
batch_to_space.cpp [WIP] stb/bts nd (#144) 2019-08-21 21:11:46 +03:00
batch_to_space_nd.cpp More fixes (#148) 2019-08-22 19:55:27 +10:00
betaInc.cpp DNNL/MKLDNN dilated causal conv1d + betainc (#103) 2019-12-04 14:50:17 +03:00
bias_add.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
bincount.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
broadcast_dynamic_shape.cpp - rewrite broadcast_dynamic_shape and delete corresponding helpers (#194) 2019-08-29 20:38:02 +03:00
check_numerics.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
cholesky.cpp Shugeo solve ls (#203) 2020-02-28 11:37:26 +03:00
compare_and_bitpack.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
confusion_matrix.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
crop_and_resize.cpp More compilation units (#246) 2020-02-17 10:23:05 +03:00
cross.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
depth_to_space.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
diag.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
diagPart.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
digamma.cpp Shyrma adjust (#98) 2019-12-03 09:40:45 +03:00
draw_bounding_boxes.cpp Shugeo release fix1 (#61) 2019-11-20 13:37:48 +02:00
dropout.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
dynamic_parititon.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
dynamic_stitch.cpp Shugeo doc (#235) 2019-09-04 14:57:59 +03:00
embedding_lookup.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
expose.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
extract_image_patches.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
fake_quant_with_min_max_vars.cpp ResizeBicubic added (#117) 2019-12-09 18:25:39 +11:00
fake_quant_with_min_max_vars_per_channel.cpp Shugeo atomic tests (#97) 2019-12-02 21:40:54 +03:00
fill.cpp Dev branch merge: dev_20190606 (#7904) 2019-06-15 21:34:34 +10:00
fill_as.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
image_resize.cpp SameDiff TF import (#49) 2019-11-19 22:44:29 +11:00
in_top_k.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
lgamma.cpp Shugeo lgamma (#170) 2020-01-20 12:29:36 +03:00
lin_space.cpp Range op data type (#204) 2020-01-31 10:45:40 +03:00
listdiff.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
lstsq.cpp Shugeo solve ls (#203) 2020-02-28 11:37:26 +03:00
lup.cpp Fixed lu for cuda platform and tests. (#158) 2020-01-02 23:25:41 +03:00
matrixDiagPart.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
matrixSetDiag.cpp Shyrma docs (#222) 2019-09-02 16:25:58 +03:00
matrix_band_part.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
matrix_determinant.cpp [WIP] more CUDA stuff (#57) 2019-07-20 23:05:21 +10:00
matrix_diag.cpp [WIP] bunch of improvements (#257) 2019-09-11 20:12:09 +03:00
matrix_inverse.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
moments.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
non_max_suppression.cpp Shugeo_release_fixes3 (#81) 2019-11-28 21:08:51 +03:00
non_max_suppression_overlaps.cpp Shugeo suppression overlaps (#9) 2019-10-30 13:43:45 +02:00
norm.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
normalize_moments.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
nth_element.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
onehot.cpp DataTypes & FlatBuffers (#197) 2020-01-30 10:07:24 +03:00
ones_as.cpp Configurable DataType for ops (#201) 2020-01-30 18:46:12 +03:00
parallelStack.cpp [WIP] More of CUDA (#95) 2019-08-05 11:27:05 +10:00
polygamma.cpp Shyrma adjust (#98) 2019-12-03 09:40:45 +03:00
qr.cpp Shugeo solve ls (#203) 2020-02-28 11:37:26 +03:00
range.cpp Range op data type (#204) 2020-01-31 10:45:40 +03:00
rank.cpp [WIP] size etc (#155) 2019-08-23 12:31:12 +03:00
reduceMean.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduceStDev.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduceVariance.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduce_dot.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
reduce_logsumexp.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduce_max.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduce_min.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduce_norm1.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduce_norm2.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduce_norm_max.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduce_prod.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduce_sqnorm.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
reduce_sum.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
resize_area.cpp Oleh tenzor mmul (#231) 2020-02-13 20:33:54 +03:00
resize_bicubic.cpp Oleh tenzor mmul (#231) 2020-02-13 20:33:54 +03:00
resize_linear.cpp Oleh tenzor mmul (#231) 2020-02-13 20:33:54 +03:00
resize_neighbor.cpp Oleh tenzor mmul (#231) 2020-02-13 20:33:54 +03:00
rint.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
roll.cpp Shugeo roll fix3 (#127) 2019-12-19 13:10:06 +03:00
scatter_add.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
scatter_div.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
scatter_max.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
scatter_min.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
scatter_mul.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
scatter_nd.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
scatter_nd_add.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
scatter_nd_sub.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
scatter_nd_update.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
scatter_sub.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
scatter_upd.cpp Shyrma scatter (#84) 2019-11-26 20:29:09 +03:00
segment_max.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
segment_mean.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
segment_min.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
segment_prod.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
segment_sum.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
sequence_mask.cpp Shugeo sequence mask fix2 (#216) 2020-02-06 21:06:50 +03:00
size.cpp [WIP] size etc (#155) 2019-08-23 12:31:12 +03:00
slice.cpp Dev branch merge: dev_20190606 (#7904) 2019-06-15 21:34:34 +10:00
solve.cpp Shugeo solve ls (#203) 2020-02-28 11:37:26 +03:00
space_to_batch.cpp [WIP] stb/bts nd (#144) 2019-08-21 21:11:46 +03:00
space_to_batch_nd.cpp More fixes (#148) 2019-08-22 19:55:27 +10:00
space_to_depth.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
split.cpp Split operation improvement (#262) 2020-02-24 08:22:41 +03:00
split_v.cpp int -> long (#108) 2019-08-10 09:14:18 +03:00
square.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
stack.cpp [WIP] More of CUDA (#95) 2019-08-05 11:27:05 +10:00
stop_gradient.cpp nano fix 2020-02-25 15:20:51 +03:00
strided_slice.cpp Shugeo strided slice bp fix2 (#33) 2019-11-07 13:44:02 +03:00
sufficient_statistics.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
tear.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
top_k.cpp [WIP] More tweaks (#173) 2019-08-27 10:37:10 +03:00
triangular_solve.cpp Shugeo solve triangular (#173) 2020-01-22 10:48:03 +03:00
unique.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
unsorted_segment_max.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
unsorted_segment_mean.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
unsorted_segment_min.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
unsorted_segment_prod.cpp Shugeo_release_fixes3 (#81) 2019-11-28 21:08:51 +03:00
unsorted_segment_sqrt_n.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
unsorted_segment_sum.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
unstack.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
weighted_cross_entropy_with_logits.cpp Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
xw_plus_b.cpp Shyrma temp (#131) 2019-12-20 22:35:39 +03:00
zero_fraction.cpp Dev branch merge: dev_20190606 (#7904) 2019-06-15 21:34:34 +10:00
zeros_as.cpp Configurable DataType for ops (#201) 2020-01-30 18:46:12 +03:00
zeta.cpp int -> long (#108) 2019-08-10 09:14:18 +03:00