DygraphToStaticAst¶
- class paddle.fluid.dygraph.dygraph_to_static.ast_transformer. DygraphToStaticAst [source]
-
Main class to transform Dygraph to Static Graph
-
get_module_name
(
)
get_module_name¶
-
Return the main function name which will be used as module name in ast_to_func.
-
generic_visit
(
node
)
generic_visit¶
-
Called if no explicit visitor function exists for a node.
-
visit
(
node
)
visit¶
-
Visit a node.
-
get_module_name
(
)