• 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
名称
最后提交
最后更新
..
sandbox 正在载入提交数据...
tests 正在载入提交数据...
__init__.py 正在载入提交数据...
builders.py 正在载入提交数据...
debugmode.py 正在载入提交数据...
function.py 正在载入提交数据...
function_module.py 正在载入提交数据...
io.py 正在载入提交数据...
mode.py 正在载入提交数据...
monitormode.py 正在载入提交数据...
nanguardmode.py 正在载入提交数据...
ops.py 正在载入提交数据...
pfunc.py 正在载入提交数据...
profiling.py 正在载入提交数据...
sharedvalue.py 正在载入提交数据...