• 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
名称
最后提交
最后更新
..
__init__.py 正在载入提交数据...
_test_mpi_roundtrip.py 正在载入提交数据...
mlp_test.py 正在载入提交数据...
shape_opt_cycle.pkl 正在载入提交数据...
test_basic.py 正在载入提交数据...
test_blas.py 正在载入提交数据...
test_blas_c.py 正在载入提交数据...
test_blas_scipy.py 正在载入提交数据...
test_casting.py 正在载入提交数据...
test_complex.py 正在载入提交数据...
test_elemwise.py 正在载入提交数据...
test_extra_ops.py 正在载入提交数据...
test_fft.py 正在载入提交数据...
test_fourier.py 正在载入提交数据...
test_gc.py 正在载入提交数据...
test_inc_subtensor.py 正在载入提交数据...
test_io.py 正在载入提交数据...
test_keepdims.py 正在载入提交数据...
test_merge.py 正在载入提交数据...
test_misc.py 正在载入提交数据...
test_mpi.py 正在载入提交数据...
test_nlinalg.py 正在载入提交数据...
test_opt.py 正在载入提交数据...
test_opt_uncanonicalize.py 正在载入提交数据...
test_raw_random.py 正在载入提交数据...
test_shared_randomstreams.py 正在载入提交数据...
test_sharedvar.py 正在载入提交数据...
test_slinalg.py 正在载入提交数据...
test_sort.py 正在载入提交数据...
test_subtensor.py 正在载入提交数据...
test_type_other.py 正在载入提交数据...
test_utils.py 正在载入提交数据...
test_var.py 正在载入提交数据...
test_xlogx.py 正在载入提交数据...