diff --git a/doc/fluid/design/async_executor/async_executor.md b/doc/fluid/design/async_executor/async_executor.md index 38f2aa38ab0d26fe2ca7bd6d4633008652bf6cd5..ef2e003552bf192fd45062475294ad48057e7dfe 100644 --- a/doc/fluid/design/async_executor/async_executor.md +++ b/doc/fluid/design/async_executor/async_executor.md @@ -13,8 +13,6 @@ def train_loop(): avg_cost, acc, prediction = bow_net(data, label) sgd_optimizer = fluid.optimizer.Adagrad(learning_rate=0.002) opt_ops, weight_and_grad = sgd_optimizer.minimize(avg_cost) - startup_program = fluid.default_startup_program() - main_program = fluid.default_main_program() place = fluid.CPUPlace() executor = fluid.Executor(place) executor.run(startup_program)