提交 616299c3 authored 作者: Matthew Rocklin's avatar Matthew Rocklin

correct import paths

(these functions moved in a rebase)
上级 d81b1138
...@@ -6,7 +6,7 @@ from mpi4py import MPI ...@@ -6,7 +6,7 @@ from mpi4py import MPI
comm = MPI.COMM_WORLD comm = MPI.COMM_WORLD
import theano import theano
from theano.tensor.io import send, recv, mpi_cmp from theano.tensor.io import send, recv, mpi_cmp
from theano.gof.graph import sort_schedule_fn from theano.gof.sched import sort_schedule_fn
import numpy as np import numpy as np
from sys import stdout from sys import stdout
......
...@@ -2,7 +2,7 @@ from theano.tensor.io import send, recv, mpi_cmp, MPISend, MPISendWait ...@@ -2,7 +2,7 @@ from theano.tensor.io import send, recv, mpi_cmp, MPISend, MPISendWait
import theano import theano
import subprocess import subprocess
import os import os
from theano.gof.graph import sort_schedule_fn from theano.gof.sched import sort_schedule_fn
mpi_scheduler = sort_schedule_fn(mpi_cmp) mpi_scheduler = sort_schedule_fn(mpi_cmp)
mpi_linker = theano.OpWiseCLinker(schedule=mpi_scheduler) mpi_linker = theano.OpWiseCLinker(schedule=mpi_scheduler)
mpi_mode = theano.Mode(linker=mpi_linker) mpi_mode = theano.Mode(linker=mpi_linker)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论