toy example of training model for turing
Summary: Add toy example to illustrate the Turing workflow. - modify the model building, add converting to helios step. Note that we need to hide this from OSS, so create FB version of the runner, in order to modify `build_model` and `get_default_cfg`. - make the `D2 (https://github.com/facebookresearch/d2go/commit/7992f91324aee6ae59795063a007c6837e60cdb8)GoCompatibleMNISTRunner` up-to-date, and use the "tutorial" meta-arch for writing unit test since it's the simplest model. Note that even `TutorialNet` is very simple, there's still a constraint that the FC has to run on 4D tensor with 1x1 spatial dimension because it's been mapped to 1x1 Conv by Helios, modify the `TutorialNet` to make it compatible. Reviewed By: newstzpz Differential Revision: D31705305 fbshipit-source-id: 77949dfbf08252be5495e9273210274c8ad86abb
Showing
Please register or sign in to comment