“5f1a577e33ff060b8401adfcca41934a6f306b4a”上不存在“python/git@gitcode.net:s920243400/PaddleDetection.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