提交 d522ca38 authored 作者: George Ho's avatar George Ho

Import cmp from theano.utils, not theano.compat

上级 1ddf0f28
...@@ -3,7 +3,7 @@ from copy import deepcopy ...@@ -3,7 +3,7 @@ from copy import deepcopy
import numpy as np import numpy as np
import theano import theano
from theano.compat import cmp from theano.utils import cmp
from theano.gof import fg, graph from theano.gof import fg, graph
from theano.gof.graph import Apply, Constant, Variable from theano.gof.graph import Apply, Constant, Variable
from theano.gof.link import Container, PerformLinker, WrapLinker from theano.gof.link import Container, PerformLinker, WrapLinker
......
from theano import tensor from theano import tensor
from theano.compat import cmp from theano.utils import cmp
from theano.gof.graph import io_toposort from theano.gof.graph import io_toposort
from theano.gof.sched import ( from theano.gof.sched import (
_toposort, _toposort,
......
from collections import defaultdict from collections import defaultdict
from theano.compat import cmp from theano.utils import cmp
from theano.gof.graph import list_of_nodes from theano.gof.graph import list_of_nodes
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论