-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Milestone
Description
There are multiple program when we training a neural network using fluid API. They are:
- The training program(s). There could be many training programs if we training a complex model, like GAN, RL, etc.
- The testing program(s). Testing programs used to evaluate the accuracy or cost on test data set while training. We use an independent program while testing because there are some operators using a different equation when testing, such as
dropout.
We need a better way to easily switch default program for layers in our API.
This issue will be done in two steps:
- remove
g_main_program/g_startup_program. Usedefault_main_programanddefault_startup_programinstead. - Add API
switch_programto change default programs.
Metadata
Metadata
Assignees
Labels
No labels