-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Abstract class enforced #521
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
Conversation
|
hi, where is the |
|
Damned this doesn't work with Python 2.7... |
|
@zsdonghao abc is one of the core standard module from python 😁 |
|
This PR can be merged ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
You don't need to install abc @zsdonghao, it's a core module of python |
* gitignore cleaned and re-organised * LayerConfig Abstract Class enforced as Abstract * LayersConfig unittest added * Py2 and Py3 compatibility issue fixed
Motivation and Context
With the PR #519 I noticed that the class LayersConfig was used and thought as an abstract class containing various data.
This PR enforce this behavior to ensure that only one class named like this exist in the library. I also have implemented a unittest for it.