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

Refactor plugin impls to be generic; implement ndim convolution (no grad for now); fix conv tests. #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DiamondLovesYou
Copy link

This algo performs a fairly simple, probably slow, inplace convolution over n-dimensional input. While cleaning up the tests, I ran into issues where trait impls aren't implemented on generic types, which is desired to combat code duplication, so I've fixed that. While Cuda is limited to f32 && f64, this algo can run over any type that implements (mainly) Add and Mul.

Note that this PR depends on autumnai/rust-cudnn#23, so accept that one first.

@GitCop
Copy link

GitCop commented Apr 12, 2016

There were the following issues with your Pull Request

  • Commit: 19df0f2
    • Commits must be in the following format: %{type}/%{scope}: %{description}
  • Commit: 2d2d88f
    • Commits must be in the following format: %{type}/%{scope}: %{description}
  • Commit: e946083
    • Commits must be in the following format: %{type}/%{scope}: %{description}

Guidelines are available at https://github.com/autumnai/collenchyma-nn/blob/master/CONTRIBUTING.md#git-commit-guidelines


This message was auto-generated by https://gitcop.com

@DiamondLovesYou
Copy link
Author

It's late here, so I'll fix the gitcop issues tomorrow.

@GitCop
Copy link

GitCop commented Apr 14, 2016

There were the following issues with your Pull Request

  • Commit: fe0258b
    • Your commit message body contains a line that is longer than 100 characters

Guidelines are available at https://github.com/autumnai/collenchyma-nn/blob/master/CONTRIBUTING.md#git-commit-guidelines


This message was auto-generated by https://gitcop.com

…da backend

This allows the tests/downstream crates to be generic. For Cuda, this doesn't
expand the types allowed, so only `f32` and `f64` are allowed (just as before).
…the native

backend

This algo needs to allocate a few index vectors, however it requires no additional space.
@DiamondLovesYou
Copy link
Author

I've fixed the gitcop issues.

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

Successfully merging this pull request may close these issues.

3 participants