-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
How to INSTANTIATE_CLASS and REGISTER_LAYER_CLASS #2349
Comments
Most layer development questions can be answered by referring to the source of current layers, such as the instantiation and registration of |
I have registered new layer VideoDataLayer: Anyone knows what's wrong with the error? |
I'm new to Caffe and I have met a big problem about how add my own layer. According to the development wiki I should instantiate and register my layer in my cpp file with the macro provided in layer_factory.hpp with "INSTANTIATE_CLASS(MyAwesomeLayer); REGISTER_LAYER_CLASS(MyAwesome);". I don't quite understand this step. Could anybody explain it in a very explicit way or give me an example. Tks.
The text was updated successfully, but these errors were encountered: