Commit 93cee9d4 authored by Yuxin Wu's avatar Yuxin Wu

global step may not be global (fix #273)

parent acec5ac2
......@@ -9,7 +9,6 @@ from six.moves import map
from ..utils.naming import (
GLOBAL_STEP_VAR_NAME,
GLOBAL_STEP_OP_NAME)
from ..utils.argtools import memoized
__all__ = ['get_default_sess_config',
......@@ -52,7 +51,6 @@ def get_default_sess_config(mem_fraction=0.99):
return conf
@memoized
def get_global_step_var():
"""
Returns:
......
......@@ -35,7 +35,7 @@ def map_arg(**maps):
memoized = functools.lru_cache(maxsize=None)
""" Equivalent to :func:`functools.lru_cache` """
""" Alias to :func:`functools.lru_cache` """
_MEMOIZED_NOARGS = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment