Created by: liym27
- Move IsControlFlowVisitor to file utils.
- Don't use
convert_call
for build-in func in CallTransformer. - Optimize api
is_control_flow_to_transform
,IsControlFlowVisitor
supports: Judge whether the ast_node of control flow from Dygraph code dependent on paddle Tensor.ast_node
can be gast.If, gast.For, gast.While, gast.If.test(gast.Compare, gast.BoolOp, gast.UnaryOp).