“9ea8b7ba2144e4c3d007a1a5a1ceecbe16b87bd7”上不存在“paddle/cuda/git@gitcode.net:BaiXuePrincess/Paddle.git”
  • Y
    Default scope function · d027f47d
    Yu Yang 提交于
    `Paddle` manages Scope as programming language's scope.  It just a
    thread-local stack of Scope. Top of that stack is current scope, the
    bottom of that stack is all scopes' parent.
    
    Invoking `create_var/get_var`  can `create/get` variable in current
    scope. Invoking `enter_local_scope/leave_local_scope` can create or
    destroy local scope.
    
    A `scoped_function` will take a `function` as input. That function will
    be invoked in a new local scope.
    d027f47d
default_scope_funcs.py 1.9 KB