* Input format extended
* Deleted redundant code
* Added weights format to conv2d config
* Refactoring
* dl4j base test functionality
* Different tests base class per module
* Check base class for dl4j-graph subproject tests
* Check if test classes extend BaseDL4JTest
* Use nd4j-common-tests as transient dependency
* Enums and tests added
* Added codegenerated methods
* Use namespace methods
* Replace DifferentialFunctionFactory with codegenerated classes
* Fixed linspace
* Namespaces regenerated
* Namespaces used instead of factory
* Regenerated base classes
* Input format extended
* Added weights format to conv2d config
* Refactoring
* dl4j base test functionality
* Different tests base class per module
* Check base class for dl4j-graph subproject tests
* Check if test classes extend BaseDL4JTest
* Use nd4j-common-tests as transient dependency
* Enums and tests added
* Added codegenerated methods
* Use namespace methods
* Replace DifferentialFunctionFactory with codegenerated classes
* Fixed linspace
* Namespaces regenerated
* Regenerated base classes
* Regenerated namespaces
* Generate nd4j namespaces
* INDArrays accepting constructors
* Generated some ops
* Some fixes
* SameDiff ops regenerated
* Regenerated nd4j ops
* externalErrors moved
* Compilation fixes
* SquaredDifference - strict number of args
* Deprecated code cleanup. Proper base class for tests.
* Extend test classes with BaseND4JTest
* Extend test classes with BaseDL4JTest
* Legacy code
* DL4J cleanup
* Exclude test utils from base class check
* Tests fixed
* Arbiter tests fix
* Test dependency scope fix + pom.xml formatting
Signed-off-by: Alex Black <blacka101@gmail.com>
* Significant number of fixes
Signed-off-by: Alex Black <blacka101@gmail.com>
* Another round of fixes
Signed-off-by: Alex Black <blacka101@gmail.com>
* Another round of fixes
Signed-off-by: Alex Black <blacka101@gmail.com>
* Few additional fixes
Signed-off-by: Alex Black <blacka101@gmail.com>
* DataVec missing test scope dependencies
Signed-off-by: Alex Black <blacka101@gmail.com>
Co-authored-by: Alex Black <blacka101@gmail.com>
* Fixing python object for obtaining scalars
Signed-off-by: shams <shamsazeem20@gmail.com>
* Fix variable name for stridePtr
Signed-off-by: shams <shamsazeem20@gmail.com>
* Fix variable name for stridePtr
Signed-off-by: shams <shamsazeem20@gmail.com>
Co-authored-by: Alex Black <blacka101@gmail.com>
* Adding more datatypes support in datavec-python
* Using numpy C API for creating numpy arrays
* Adding parameterized tests
* Adding support for BFLOAT16 (by converting it to FLOAT)
* Cleanup
* Using casting instead of creating an array
* Giving out a warning while casting array from BFLOAT16 to FLOAT
* Add syncToPrimary and syncToSpecial methods to BaseDataBuffer
Signed-off-by: Alex Black <blacka101@gmail.com>
* Python exec: sync to host before passing pointers
Signed-off-by: Alex Black <blacka101@gmail.com>
* Added copyright header
* use np api (#267)
* python exec / numpy - check object type before cast (#268)
* use np api
* verify object before cast
* fix cong
* cuda fix
* inplace test + tiny fix
* more test
* fix double alloc
* rem tags
* fix cuda check
* Fix implicit CUDA dependency in datavec-python tests; remove new method, add test
Signed-off-by: Alex Black <blacka101@gmail.com>
Co-authored-by: Alex Black <blacka101@gmail.com>
Co-authored-by: Fariz Rahman <farizrahman4u@gmail.com>
* Making TypeName enum public
* Ignoring None type object for PythonExceptions
* better handling of None + test
Co-authored-by: Fariz Rahman <farizrahman4u@gmail.com>
* wrapper
* builtins
* context mgr
* direct place
* ret all var
* call fix
* fix ndarray serde
* jobs
* try-with gil management
* cleanup
* exec tests passing
* list tests
* transforms test passing
* all pass
* headers
* dict fixes+test
* python path
* bool isinstance
* job tests
* nits
* transform fix+test
* transform tests
* leak fixes
* more mem leak fixes
* more fixes
* nits for adam
* PythonJob lombok builder
* checked exceptions
* more nits
* small leak fix
* more nits
* pythonexceptions
* fix jvm crash when bad python code
* Exception->PythonException
* Add support for boolean types in arrow records and ability to cast from float, double to int for TypeConversion (#178)
* nits for alex
* update tests
* fix test
* all pass
* refacc
* rem old code
* dtypes
* bytes working+exception pass through+cleanup (#209)
* more bytes tests
* header
* rem dummy test
* rem bad import
* alex nits + refacc
* Small error fixes (wrong type in msg) + minor formatting
Signed-off-by: AlexDBlack <blacka101@gmail.com>
* use actual python type names (dictionary->dict, boolean->bool)
Co-authored-by: Shams Ul Azeem <shamsazeem20@gmail.com>
Co-authored-by: Alex Black <blacka101@gmail.com>