• abalkin's avatar
    Added an explicit cast in c_code for AdvancedSubtensor1 Op to match logic in… · 967ba312
    abalkin 提交于
    Added an explicit cast in c_code for AdvancedSubtensor1 Op to match logic in perform() and avoid test failures
    on 32 bit platforms.  The real issue seem to be that x.shape is a 64-bit tensor regardless of the size of platform's
     size_t type.  This leads to int64 type appearance in any computation involving shape and resulting index cannot
     be passed back to numpy.take() necessitating the cast.
    967ba312
名称
最后提交
最后更新
benchmark 正在载入提交数据...
bin 正在载入提交数据...
doc 正在载入提交数据...
theano 正在载入提交数据...
.gitignore 正在载入提交数据...
.mailmap 正在载入提交数据...
.travis.yml 正在载入提交数据...
DESCRIPTION.txt 正在载入提交数据...
EMAIL.txt 正在载入提交数据...
HISTORY.txt 正在载入提交数据...
LICENSE.txt 正在载入提交数据...
MANIFEST.in 正在载入提交数据...
NEWS.txt 正在载入提交数据...
README.txt 正在载入提交数据...
Theano.pyproj 正在载入提交数据...
Theano.sln 正在载入提交数据...
setup.cfg 正在载入提交数据...
setup.py 正在载入提交数据...