-
Notifications
You must be signed in to change notification settings - Fork 27
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
Implicit conversion of data types #25
Comments
Addressing each concern in order.
Does that make sense or am I missing something? |
All in all, I'm just worried about increased number of possible workflows. On other hand, until we get to version 1.0 we are free to change API, so I'm going to give it a try anyway and then see how it goes. |
I think generalizing the tests cases and adding benchmarks might help with handling the different workflows. I'll open an issue for that and start working on it. Thanks. |
|
Fixed by #33 |
From #19:
It sounds like a good idea, especially in a context of fitting large datasets when a user may not have possibility to convert an entire dataset in memory, but converting it on per-batch basis is still possible. However, I have some concerns reagarding this idea.
Float64
RBM, but gotFloat32
data, we would not warn him about it. As an example, Julia's BLAS function never allow implicit conversions and always demand an exact type.fit()
or all exported functions or all functions at all?sample()
function and then some overloadedfit()
method passes a data of a different type into it - this will lead to the conversion during each call tosample()
, which will significantly slow down the process without any hints for a developer / end user.Does it make sence or am I just paranoid?
cc: @Rory-Finnegan
The text was updated successfully, but these errors were encountered: