Skip to content

Do NOT expose temporary concepts like main_program and startup_program #9421

@wangkuiyi

Description

@wangkuiyi

Currently, in our official examples, like the following on

def train_loop(main_program):

we exposed main program and startup program, which are concepts that shouldn't been there -- the only reason that we have them is because we didn't complete the implementation of the Fluid design.

Once we release a version in the current status, we are telling users that "you are recommended to create two kinds of programs explicitly" -- this is WRONG!

Metadata

Metadata

Assignees

No one assigned

    Labels

    User用于标记用户问题

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions