* 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>