未验证 提交 5de41ef2 编写于 作者: J Jiabin Yang 提交者: GitHub

support env variable control flags (#41013)

上级 3983c724
...@@ -74,7 +74,7 @@ ZERO_VAR_SUFFIX = core.kZeroVarSuffix() ...@@ -74,7 +74,7 @@ ZERO_VAR_SUFFIX = core.kZeroVarSuffix()
CONTROL_DEP_VAR_PREFIX = core.kControlDepVarName() CONTROL_DEP_VAR_PREFIX = core.kControlDepVarName()
_dygraph_tracer_ = None _dygraph_tracer_ = None
_in_eager_mode_ = False _in_eager_mode_ = (os.environ.get('FLAGS_enable_eager_mode') == '1')
_global_expected_place_ = None _global_expected_place_ = None
_current_device = None _current_device = None
global_prog_seed = 0 global_prog_seed = 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册