Commit Graph

1006 Commits (a119da98b5fdf0181fa6f9ae93f1bfff45772495)

Author SHA1 Message Date
dariuszzbyrad a119da98b5
Removed unnecessary modifier (#9091)
* Marked some classes as static

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Removed unnecessary modifier

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Revert "Marked some classes as static"

This reverts commit 50f7c34a

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-09-16 13:29:10 +09:00
dariuszzbyrad d57b55ccf3
Unused imports (#9092)
* Marked some classes as static

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Removed unused imports

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Revert "Marked some classes as static"

This reverts commit 50f7c34a

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-09-16 13:28:02 +09:00
dariuszzbyrad 58e3527bf6
(arbiter-core) Made some performance and memory improvement (#9085)
* Inline variables

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Marked some classes as static

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Improve computational complexity

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Revert last changes

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-09-11 09:59:37 +09:00
dariuszzbyrad 913cfcaa4f
(arbiter-core) Fixed some typos (#9084)
* Fix some typo

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Revert one of the last fix typo

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-09-11 09:58:42 +09:00
dariuszzbyrad 73b08c7254
(Dl4j) performance improvments (#9078)
* Removed invoking the boolean constructor

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Use bulk operations instead of iteration

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Removed manuall array copy

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-09-01 20:16:08 +09:00
dariuszzbyrad 1de8837c39
Removed unused imports (#9077)
Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-09-01 17:55:48 +09:00
dariuszzbyrad 4f9b6fcf1e
Removed infinitely loop (#9076)
Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-08-29 21:06:37 +09:00
dariuszzbyrad 6afec82181
Datavec bulk operation (#9075)
* Bulk operation can be used instead of iteration inspection

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Redundant 'Collection.addAll()' call inspection

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-08-28 07:59:14 +09:00
dariuszzbyrad 8ff0aa8ddf
Using embedded copying of an array instead of manual (#9073)
Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-08-27 09:12:40 +09:00
dariuszzbyrad 4394965cb5
Datavec code cleaup (#9071)
* removed unnecessary semicolons

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Use standard charset object

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Removed unused imports

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-08-23 10:45:12 +09:00
dariuszzbyrad 7f4f3b61f5
Added support for the archunit (#9062)
* Added support for the archunit

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* Updated pom files

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-08-21 13:30:37 +09:00
Adam Gibson 6b736eae33
Development updates (#9064)
* Update versions of JavaCPP Presets for OpenCV, FFmpeg, and MKL

Signed-off-by: Samuel Audet <samuel.audet@gmail.com>
2020-08-02 08:52:44 +09:00
dariuszzbyrad 0a865f6ee3
performance improvement (#9055)
* performance improvement

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>

* revert some changes

Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-07-29 20:33:46 +09:00
dariuszzbyrad 6eb3c9260e
Removed dead code (#9057)
Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-07-29 20:32:47 +09:00
Samuel Audet 029b84e2b7
Development updates (#9053)
* RL4J: Add generic update rule (#502)

Signed-off-by: Alexandre Boulanger <aboulang2002@yahoo.com>

* Shyrma reduce (#481)

* - start working on improving of cpu legacy code for reduce ops

Signed-off-by: Yurii <iuriish@yahoo.com>

* - further work on improving legacy loops

Signed-off-by: Yurii <iuriish@yahoo.com>

* - still working on improving reduce ops

Signed-off-by: Yurii <iuriish@yahoo.com>

* - further work on improving reduce ops

Signed-off-by: Yurii <iuriish@yahoo.com>

* - testing speed run of new reduce op

Signed-off-by: Yurii <iuriish@yahoo.com>

* - working on improvement of default loop for reduce op

Signed-off-by: Yurii <iuriish@yahoo.com>

* - update signatures of stuff which calls reduce ops

Signed-off-by: Yurii <iuriish@yahoo.com>

* - make corrections in cuda reduce kernels

Signed-off-by: Yurii <iuriish@yahoo.com>

* - change loop for default case in broadcast legacy ops

Signed-off-by: Yurii <iuriish@yahoo.com>

* - comment some shape stuff

Signed-off-by: Yurii <iuriish@yahoo.com>

* - comment unnecessary prints in RNGtests

Signed-off-by: Yurii <iuriish@yahoo.com>

* - finish to resolve conflicts after master has been merged

Signed-off-by: Yurii <iuriish@yahoo.com>

* - get rid of some compilation mistakes of cuda stuff

Signed-off-by: Yurii <iuriish@yahoo.com>

* - minor changes

Signed-off-by: Yurii <iuriish@yahoo.com>

* - further search for bug causing crash on java test

Signed-off-by: Yurii <iuriish@yahoo.com>

* - add scalar case in reduce_ ... exec stuff

Signed-off-by: Yurii <iuriish@yahoo.com>

* - minor corrections in NAtiveOps.cu

Signed-off-by: Yurii <iuriish@yahoo.com>

* - add switch to scalar case execReduceXD functions

Signed-off-by: Yurii <iuriish@yahoo.com>

* - add support for vectors old shape in ConstantShapeHelper::createShapeInfoWithNoUnitiesForReduce

Signed-off-by: Yurii <iuriish@yahoo.com>

* - correct cuda mirrorPad

Signed-off-by: Yurii <iuriish@yahoo.com>

* - add support for vectors old shape in cuda createShapeInfoWithNoUnitiesForReduce

Signed-off-by: Yurii <iuriish@yahoo.com>

Co-authored-by: raver119 <raver119@gmail.com>

* Add support for CUDA 11.0 (#492)

* Add support for CUDA 11.0

* libnd4j tweaks for CUDA 11

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* bindings update, again?

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* * Update versions of JavaCPP Presets for FFmpeg, OpenBLAS, and NumPy

* update API to match CUDA 8

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* * Update version of JavaCPP Presets for CPython

* C++ updated for cuDNN 8.0

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* one more test

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* one more test

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* one more test

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* 128-bit alignment for workspaces

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* change seed in 1 test

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Fix dependecy duplication in python4j-parent pom

* Fix group id for in python4j-numpy

* few tests tweaked

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Remove macosx-x86_64-gpu from nd4j-tests-tensorflow

* few minor tweaks for IndexReduce

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* one test removed

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

Co-authored-by: raver119@gmail.com <raver119@gmail.com>
Co-authored-by: Serhii Shepel <9946053+sshepel@users.noreply.github.com>

* RL4J: Add SyncTrainer and AgentLearnerBuilder for a few algorithms (#504)

Signed-off-by: Alexandre Boulanger <aboulang2002@yahoo.com>

Co-authored-by: Alexandre Boulanger <44292157+aboulang2002@users.noreply.github.com>
Co-authored-by: Yurii Shyrma <iuriish@yahoo.com>
Co-authored-by: raver119 <raver119@gmail.com>
Co-authored-by: Serhii Shepel <9946053+sshepel@users.noreply.github.com>
2020-07-26 21:59:27 +09:00
Kartik Chugh ef665bfe49
Improves README (#8973) 2020-07-25 20:33:12 +09:00
Alexei KLENIN d6d8fc592d
CLEANUP #5261 : Remove unused references to ComplexNDArray (#8987)
Signed-off-by: hosuaby <alexei.klenin@gmail.com>
2020-07-25 20:32:45 +09:00
Rhys Compton 026ebabf77
Add options for changing the default CNN2D format (#8996)
This means that when a model is being loaded (e.g., from a Keras H5 file), the default CNN2DFormat can be set. Currently it always defaults to 'Channels First' which can cause problems for some models.
2020-07-25 20:32:18 +09:00
ch1010 5ff8d28b89
Close iter when reset to avoid resource not closed issue (#9035)
Signed-off-by: CH Kang <ch1010.developer@gmail.com>
2020-07-25 20:31:26 +09:00
Tamás Fenyvesi f33b08e20f
shutdown hook for UI server (#9005)
* shutdown hook for UI server

Signed-off-by: Tamás Fenyvesi <tamas.fenyvesi@doknet.hu>

* logging exception

Signed-off-by: Tamás Fenyvesi <tamas.fenyvesi@doknet.hu>
2020-07-25 20:30:49 +09:00
dariuszzbyrad a17a579b1f
Small refactor (#9047)
Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>
2020-07-25 20:29:56 +09:00
Alex Black b3e3456b89
Merge pull request #9027 from KonduitAI/master
Development updates [WIP]
2020-06-29 19:55:29 +10:00
Alex Black aa54760c1a Merge remote-tracking branch 'eclipse/master' 2020-06-29 18:41:52 +10:00
Fariz Rahman 99b85c5006
Python4j: bytes conversion fix + test (#497)
* bytes fix+test

* bytes fix+test
2020-06-29 16:48:25 +10:00
Alexandre Boulanger 4190c9ee0f
RL4J: Add NeuralNetUpdater (#500)
Signed-off-by: Alexandre Boulanger <aboulang2002@yahoo.com>
2020-06-29 12:20:53 +09:00
Alex Black 43fd64358c
Merge pull request #9024 from KonduitAI/master
Development updates [WIP]
2020-06-26 19:34:28 +10:00
Abdelrauf 69ebc96068
Pi build and initial ArmCompute library support (#494)
* - raspberry Pi build and ArmCompute library support
- initial ArmCompute platform implementations (Maxpool2d AvgPool2d for float32)

Signed-off-by: AbdelRauf <rauf@konduit.ai>

* - Build script for pi
- small changes

Signed-off-by: AbdelRauf <rauf@konduit.ai>
2020-06-26 10:03:46 +03:00
Alexandre Boulanger fb578fdecd
RL4J: Use directly NeuralNet instances in DoubleDQN and StandardDQN (#499)
Signed-off-by: Alexandre Boulanger <aboulang2002@yahoo.com>
2020-06-26 11:23:47 +09:00
raver119 654afc810d two more graphs for C++ tests
Signed-off-by: raver119 <raver119@gmail.com>
2020-06-25 18:17:19 +03:00
Fariz Rahman e9c13ca9f4
Python4j change namespace (org.eclipse->org.nd4j) (#493)
* org.eclipse->org.nd4j

* Fix parent groupid

Signed-off-by: Alex Black <blacka101@gmail.com>

* memview->bytes

* del test

Co-authored-by: Alex Black <blacka101@gmail.com>
2020-06-25 13:05:08 +10:00
raver119 b4a4a78f21 One more graph for tests
Signed-off-by: raver119 <raver119@gmail.com>
2020-06-19 20:50:57 +03:00
raver119 de625baea6 nested while graph
Signed-off-by: raver119 <raver119@gmail.com>
2020-06-17 09:41:42 +03:00
raver119 08a77d929b few minor tweaks for recent MSVC update
Signed-off-by: raver119 <raver119@gmail.com>
2020-06-16 09:07:20 +03:00
Fariz Rahman 9ca679e080
python4j-numpy (#475)
* 'initial'

* 'impl'

* tests

* <T>

* more tests

* scalar fixes

* lazy setup jobs

* more tests

* multithreading wip

* multithreading fix

* bytebuffer working

* nits

* inplace exec fixes

* attempt linux cpu fix

* rollback

* list fixes

* disable gc

* log

* bump jcpp + fixes

* #8985 GradientSharingTrainingTest ignore for logged issue

Signed-off-by: Alex Black <blacka101@gmail.com>

* memview fixes

* fix?

Co-authored-by: Alex Black <blacka101@gmail.com>
2020-06-16 11:43:10 +10:00
Yurii Shyrma bb0492f47d
R119 random shuffle (#488)
* random_shuffle test for Yurii

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* - implementation and testing random_shuffle for vector case (cpu)

Signed-off-by: Yurii <iuriish@yahoo.com>

* - fix bug in random shuffle for cpu

Signed-off-by: Yurii <iuriish@yahoo.com>

* - correct tests for random shuffle and improve alg when inPlace is false

Signed-off-by: Yurii <iuriish@yahoo.com>

* - implementation of random shuffle algorithm for cuda

Signed-off-by: Yurii <iuriish@yahoo.com>

* - split cuda random shuffle alg into separate launches of 2 kernels

Signed-off-by: Yurii <iuriish@yahoo.com>

* - minor corrections in cuda concat kernel

Signed-off-by: Yurii <iuriish@yahoo.com>

Co-authored-by: raver119@gmail.com <raver119@gmail.com>
2020-06-11 20:15:13 +03:00
raver119 8733c0c3ed
max_pool with argmax - more data types (#486)
Signed-off-by: raver119@gmail.com <raver119@gmail.com>
2020-06-11 12:39:14 +03:00
Alex Black fadc2d8622
DL4J: Fix 2 JSON issues [WIP] (#490)
* Fix MergeVertex serialization for NHWC case

Signed-off-by: Alex Black <blacka101@gmail.com>

* #8999 Dropout JSON field ignore

Signed-off-by: Alex Black <blacka101@gmail.com>
2020-06-11 12:37:38 +10:00
Alex Black b06fb670a4
Merge pull request #8998 from KonduitAI/master
Development updates
2020-06-10 20:17:17 +10:00
Paul Dubs f30acad57d
Update Readme (#489)
* Update Readme

Signed-off-by: Paul Dubs <paul.dubs@gmail.com>

* Update Readme

Signed-off-by: Paul Dubs <paul.dubs@gmail.com>

* Update Readme

Signed-off-by: Paul Dubs <paul.dubs@gmail.com>
2020-06-10 20:15:19 +10:00
shugeo 3a3c952e75
Added dtype formulation for poisson and gamma distributions. (#442)
* Added dtype formulation for poisson and gamma distributions.

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

* Refactored gamma distribution generator and tests.

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

* Added generator for gamma distribution when alpha (shape) between 0 and 1

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

* Implemented gamma distribution for shape param less than 1 and tests.

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

* Implemented gamma distributed randoms for shape (alpha) parameter greater then 1.

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

* Added cuda implementation for gamma distribution.

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

* Refactored cuda and cpu implementation of gamma distribution.

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

* Fixed crash with default beta param with gamma distribution.

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

* Fixed  pow for arm arch.

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

* Gamma test fixed

* Cosmetic changes only.

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

* Fixed random value retrieving

* Eliminated overflow attemptions.

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

* Modified random retrieving.

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

* enlighted density of tests for Gamma distribution.

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

Co-authored-by: Alexander Stoyakin <alexander.stoyakin@gmail.com>
Co-authored-by: raver119 <raver119@gmail.com>
2020-06-08 13:14:22 +03:00
raver119 c8096197c7
cuDNN Windows tweaks (#487)
* get rid of culibos reference

Signed-off-by: raver119 <raver119@gmail.com>

* typo

Signed-off-by: raver119 <raver119@gmail.com>

* one less printf

Signed-off-by: raver119 <raver119@gmail.com>

* one disabled test

Signed-off-by: raver119 <raver119@gmail.com>
2020-06-08 13:03:05 +03:00
Alex Black 785f130e61
Merge pull request #8993 from KonduitAI/master
Latest development updates
2020-06-08 18:18:09 +10:00
raver119 ac7fb903d7
C++ rearrangements (#485)
* initial commit

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* some minor singleton changes

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* more iterations

Signed-off-by: raver119 <raver119@gmail.com>

* more singletons updated

Signed-off-by: raver119 <raver119@gmail.com>

* more singletons updated

Signed-off-by: raver119 <raver119@gmail.com>

* more changes

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* CUDA updates

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Java side update

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* one commented out test

Signed-off-by: raver119@gmail.com <raver119@gmail.com>
2020-06-06 15:26:55 +03:00
Alex Black ee3e059b12
DL4J/DataVec: Fix Yolo2OutputLayer and ObjectDetectionRecordReader support for NHWC data format (#483)
* Fix Yolo2OutputLayer for NHWC data format

Signed-off-by: Alex Black <blacka101@gmail.com>

* ObjectDetectionRecordReader NHWC support

Signed-off-by: Alex Black <blacka101@gmail.com>
2020-06-05 11:49:02 +10:00
raver119 45ebd4899c
CUDA small sort tests (#482)
* couple of C++ sort tests

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Java sort test

Signed-off-by: raver119@gmail.com <raver119@gmail.com>
2020-06-02 10:43:12 +03:00
Abdelrauf c783a5938a
Cmake compilation helper module (#478)
* Cmake: generate compilation units
Corrections. Added loops/cpu compilation units
Config files

Signed-off-by: Abdelrauf <rauf@konduit.ai>

* Cmake compilation helper module: fix cmake variable scope and some typos

Signed-off-by: Abdelrauf <rauf@konduit.ai>

* Cmake compilation helper: added other generations. should fix cuda
compilation

Signed-off-by: Abdelrauf <rauf@konduit.ai>

* crop_and_resize adopted new compilation units setup

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Cmake Compilation Helper: Added comments and some configurations file

Signed-off-by: Abdelrauf <rauf@konduit.ai>

* minor fix

Signed-off-by: Abdelrauf <rauf@konduit.ai>

Co-authored-by: raver119@gmail.com <raver119@gmail.com>
2020-06-01 11:47:21 +03:00
raver119 966642c1c9
Rng tweaks (#479)
* initial commit

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Java Random.getFloat()/getDouble() methods mapped to C++

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Refactored relativeT for float and double data types.

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

* Refactored float relativeT method.

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

* Refactored relativeT

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

* - additional rng tests
- float/double uniform generation methos slightly changed

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* use bitset instead of manual conversion

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* rollback valueBits changes

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* remove unused shapelist

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* update KMeans ground truth test

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* dedicated union to make MSVC happy

Signed-off-by: raver119 <raver119@gmail.com>

* minor tweaks

Signed-off-by: raver119 <raver119@gmail.com>

* .seh_savexmm workaround?

Signed-off-by: raver119 <raver119@gmail.com>

* don't use march=native in tests on windows

Signed-off-by: raver119 <raver119@gmail.com>

Co-authored-by: shugeo <sgazeos@gmail.com>
2020-05-30 21:13:33 +03:00
Serhii Shepel 1233acf2ab
Fix formatting, remove obsolete files (#439)
* Update/remove obsolete files

* Fix nd4j-parameter-server-parent folder and module name

* Fix formatting for libnd4j pom

* Remove LICENSE file check for libnd4j build

* Temp revert removing encoding and version for nd4j-parameter-server-model, nd4j-parameter-server-node, nd4j-parameter-server-client
2020-05-29 11:01:02 +03:00
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
Alexandre Boulanger 5568b9d72f
RL4J: Add AgentLearner (#470)
Signed-off-by: Alexandre Boulanger <aboulang2002@yahoo.com>
2020-05-27 20:41:02 +09:00