• notoraptor's avatar
    Update checking of integer types. · ba0a5e10
    notoraptor 提交于
    This fixes issue #5274.
    For integer types, any string-based type-checking is replaced with a list-based type-checking using the type lists provided in `theano.tensor` (int_dtypes, uint_dtypes, integer_dtypes, etc.).
    
    NB:
    * Module `theano.sparse` have its own type lists, so they are used in this module instead of `theano.tensor` lists.
    * I have tried to check the types with `discrete_dtypes` where it seems relevant (e.g. in `grad()` functions), but further analyzes may be required. That is the type list to use to fix issue #5274.
    ba0a5e10
名称
最后提交
最后更新
.jenkins 正在载入提交数据...
.travis 正在载入提交数据...
benchmark 正在载入提交数据...
bin 正在载入提交数据...
doc 正在载入提交数据...
theano 正在载入提交数据...
.gitignore 正在载入提交数据...
.mailmap 正在载入提交数据...
.travis.yml 正在载入提交数据...
CONTRIBUTING.md 正在载入提交数据...
DESCRIPTION.txt 正在载入提交数据...
EMAIL.txt 正在载入提交数据...
HISTORY.txt 正在载入提交数据...
ISSUE_TEMPLATE.md 正在载入提交数据...
LICENSE.txt 正在载入提交数据...
MANIFEST.in 正在载入提交数据...
NEWS.txt 正在载入提交数据...
NEWS_DEV.txt 正在载入提交数据...
README.txt 正在载入提交数据...
Theano.pyproj 正在载入提交数据...
Theano.sln 正在载入提交数据...
requirement-rtd.txt 正在载入提交数据...
setup.cfg 正在载入提交数据...
setup.py 正在载入提交数据...