• Y
    Feature/switch program (#5932) · ac596a39
    Yu Yang 提交于
    * Unify fluid submodules to fluid module
    
    Change books just use `import fluid`, not submodules
    
    * Remove g_main_program/g_startup_program
    
    Use default_main_program/default_startup_program instead
    
    * Typo
    
    * Add API for switch default program
    
    * Two functions: switch_main_program/switch_startup_program
    * A guard: program_guard. Users can use the `with` statement change
      default programs
    * Change unittests in `test_layers`
    
    * Fix CI
    
    * Fix CI
    
    * Fix CI
    ac596a39
framework.py 23.5 KB