提交 377a5d27 authored 作者: Benjamin Scellier's avatar Benjamin Scellier

file theano/misc/check_multi_gpu.py

上级 9e12d2c0
......@@ -9,7 +9,7 @@ from __future__ import absolute_import, print_function, division
import threading
import time
import numpy
import numpy as np
import theano
from theano.gpuarray import init_dev
......@@ -21,7 +21,7 @@ def main(dev1, dev2):
init_dev(dev2, 'ctx2')
size = 1024 * 16
data = numpy.random.randn(size, size).astype('float32')
data = np.random.randn(size, size).astype('float32')
val1a = theano.shared(data, target='ctx1')
val1b = theano.shared(data, target='ctx1')
val1c = theano.shared(data, target='ctx1')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论