• 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
名称
最后提交
最后更新
..
tests 正在载入提交数据...
__init__.py 正在载入提交数据...
numpy_api_changes.diff 正在载入提交数据...
scan.py 正在载入提交数据...
scan_checkpoints.py 正在载入提交数据...
scan_op.py 正在载入提交数据...
scan_opt.py 正在载入提交数据...
scan_perform.c 正在载入提交数据...
scan_perform.pyx 正在载入提交数据...
scan_perform_ext.py 正在载入提交数据...
scan_utils.py 正在载入提交数据...
scan_views.py 正在载入提交数据...