Fix NaNGuardMode to permit None variables.
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.
正在显示
请
注册
或者
登录
后发表评论