Created by: shippingwang
This PR
- fix distribute strategy when using Fleet interface. when some operations, such as EMA, are applied after calling 'minimize' function, They won't insert in the graph, because the graph is already restored in fleet.main_program. To solve this problem, switch collective mode on now