• Brandon T. Willard's avatar
    Implement DimShuffle lifting optimization for RandomVariables · aad5d35c
    Brandon T. Willard 提交于
    This optimization does *not* preserve equality between the numeric
    results of the untransformed and transformed graphs when the RNGs and seeds are
    equal.  The reason is that the underlying sampler methods themselves are not
    implemented in Theano, so we cannot apply the requisite DimShuffle-like
    operations to the intermediate samples used to generate multiple replications
    and/or independent variates.
    
    For example, sampling a normal of size (3, 2) requires a draw of size (3, 2)
    from a standard normal and we can't transpose that (3, 2) array.  If we could,
    then we would be able to maintain numerical equality between graphs.
    aad5d35c
名称
最后提交
最后更新
.github 正在载入提交数据...
bin 正在载入提交数据...
conda 正在载入提交数据...
doc 正在载入提交数据...
notebooks 正在载入提交数据...
tests 正在载入提交数据...
theano 正在载入提交数据...
.appveyor.yml 正在载入提交数据...
.coveragerc 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
.mailmap 正在载入提交数据...
.pre-commit-config.yaml 正在载入提交数据...
CONTRIBUTING.md 正在载入提交数据...
DESCRIPTION.txt 正在载入提交数据...
EMAIL.txt 正在载入提交数据...
HISTORY.txt 正在载入提交数据...
LICENSE.txt 正在载入提交数据...
MANIFEST.in 正在载入提交数据...
Makefile 正在载入提交数据...
NEWS.txt 正在载入提交数据...
NEWS_DEV.txt 正在载入提交数据...
README.rst 正在载入提交数据...
codecov.yml 正在载入提交数据...
conftest.py 正在载入提交数据...
readthedocs.yml 正在载入提交数据...
requirements-rtd.txt 正在载入提交数据...
requirements.txt 正在载入提交数据...
setup.cfg 正在载入提交数据...
setup.py 正在载入提交数据...
versioneer.py 正在载入提交数据...