• David Warde-Farley's avatar
    Fix mutable default arguments (config.foo values). · fbfb0081
    David Warde-Farley 提交于
    config.blah should not be used as a default argument as the values can
    change during execution, but default arguments are only evaluated at
    function definition time. The correct idiom is to use a sentinel value
    such as None and then check for it, and read out the config value in the
    function body.
    fbfb0081
名称
最后提交
最后更新
benchmark 正在载入提交数据...
bin 正在载入提交数据...
doc 正在载入提交数据...
theano 正在载入提交数据...
.gitignore 正在载入提交数据...
DESCRIPTION.txt 正在载入提交数据...
EMAIL.txt 正在载入提交数据...
HISTORY.txt 正在载入提交数据...
LICENSE.txt 正在载入提交数据...
MANIFEST.in 正在载入提交数据...
NEWS.txt 正在载入提交数据...
README.txt 正在载入提交数据...
Theano.pyproj 正在载入提交数据...
Theano.sln 正在载入提交数据...
distribute_setup.py 正在载入提交数据...
setup.cfg 正在载入提交数据...
setup.py 正在载入提交数据...