• David Bau's avatar
    Fix NaNGuardMode to permit None variables. · 0f374035
    David Bau 提交于
    None values in the theano tree can appear in array indexing
    such as A[:, None], but NaNGuard mode currently throws an
    exception when it requirest a None value.  This simple
    change fixes it, and adds a relevant test.
    0f374035
test_nanguardmode.py 2.2 KB