-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Using floats instead of double #1062
Comments
I think actually this should not be too hard---all of the layers (or at least most of them) in This is related to the long-standing issue #290. |
Yeah looking at it, it seems as you say. I think there is an option between templating on a matrix type or templating on an underlying datatype, or both. Looking forward, having arbitrary types might be convenient when integrating with bandicoot: https://github.com/conradsnicta/bandicoot-code |
Absolutely, I want to be able to drop in bandicoot types when the time comes. I'm surprised, word is spreading fast about that project I guess... :) I think that templating on a matrix type would be better---like you pointed out, this would allow us to accept bandicoot types and also |
Well I opened a pull request (not meant to be merged yet), just to get an idea of what this change might look like. I'm realizing now, though, that it will be a bit more involved because of this LayerTypes boost::variant thing. |
Right, we have to find a good solution for |
Do you think we could do something like this?
|
@rcurtin Is anyone working on it? If not, I would like to look into this. |
Please feel free to look into the issue. |
@zoq Okk.. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍 |
Hi, long time armadillo user, newer mlpack user (looks great!).
I'd like to be able to change the datatype in the ann implementation to float (instead of double).
I'm willing to go through and add a template parameter for the datatype as it seems pretty straightforward. But before I go through the effort, I'm just wondering if there's a possibility something like this would be accepted.
Cheers!
The text was updated successfully, but these errors were encountered: