arrayfire / arrayfire-ml

ArrayFire's Machine Learning Library.
BSD 3-Clause "New" or "Revised" License
102 stars 23 forks source link

WIP Indexing autograd and tests, new loss functions #47

Open syurkevi opened 6 years ago

syurkevi commented 6 years ago

Adds new indexing functions to address #43. Theses are needed to implement Losses ans SVM from #34 and #6 those changes are next in line. Operator overloading currently avoided in favor of new select_index () and set_index functions(). Will change to preferred solution as part of review. Also brings in google test framework for testing. examples/autograd.cpp has been converted to (non-comprehensive) tests.