-
Notifications
You must be signed in to change notification settings - Fork 94
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
Revamping the Learn API #102
Comments
I have only created a few relatively simple sequential CNNs for image classification so far, so I think I can only comment on the first point about the When I tried it the first time, I was a bit confused by the Model constructor parameters, especially Looking at it now I actually like how it's done because it really is quite flexible. I think the main issue is It might also make sense to create convenience functions for things that are probably often used in this way like different loss functions. So instead of
you could just do someting like You could still use the first variant to compose it yourself if you need it, the second would just be a wrapper for common cases. |
I will close this because plans changed significantly and I will soon publish a proposal of a lot for new features I've been working on over the summer that involve compile-time support for TensorFlow, similar to what Swift for TensorFlow does, but (hopefully :)) with much stronger type guarantees. |
This is a place to discuss issues with the current design of the learn API and ways to improve it, so that we can have a new implementation ready (hopefully) by the end of May.
The main issues I see currently are:
Model
class feels quite awkward to newcomers. Is there a nicer way to define models, while being flexible?Layer
s. Implementing a new layer adds an overhead and some boilerplate even for simple models. We should probably allow functions to be usable as layers. Also, variable scopes and the rest of the op creation context does not work really well with layers at this point.@sbrunk Do you have any thoughts based on use cases you might have tried?
The text was updated successfully, but these errors were encountered: