Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nd-array support #4

Open
uditarora opened this issue Mar 6, 2019 · 3 comments
Open

Add nd-array support #4

uditarora opened this issue Mar 6, 2019 · 3 comments
Assignees

Comments

@uditarora
Copy link
Collaborator

uditarora commented Mar 6, 2019

This issue tracks the development of v0.1 of the nd array support for this project.

Currently we will support the following things:

  1. Creation of Nd shape array
  2. Arithmetic Operations with nd shape array

The aim of the API is to look somewhat like this:

auto val = new vector<int> ({1,2,3,4});
auto shape = new vector<int> ({2,2});
Matrix<int> m(val,shape)
cout<<m<<endl;
m = m + m;
m = m - m;

In the future we want to try to add broadcasting, but not in this release.
We'll try to be as memory efficient as possible with as few allocation of memory and responsibly avoiding memory leaks by writing destructors.

@karanchahal
Copy link
Owner

Support for matrix is now live on develop via #11 . Refer to that to know more.
What's left is backprop for dot product operation. This will include getting the transpose operation to work for matrices. Once we are done with this, we can move on to create higher level layers for a fully connected MLP. One item left is to get dot product working on the GPU and callable through c++ code.

@karanchahal
Copy link
Owner

Back Prop of matrix multiplication is handled via #21 . GPU support is still not pushed into main branch. So holding on that to close this issue

@karanchahal
Copy link
Owner

Handled via #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants