提交 981d6db4 authored 作者: abalkin's avatar abalkin

Removed unnecessary imports.

上级 7de9a5c6
...@@ -4,13 +4,12 @@ import theano ...@@ -4,13 +4,12 @@ import theano
import numpy import numpy
from theano import gof, scalar, tensor from theano import gof, scalar, tensor
from theano.tensor import blas from theano.tensor import blas
from theano.sparse import (CSC, CSR, csm_properties, Remove0, from theano.sparse import (CSC, CSR, csm_properties,
register_specialize, register_specialize,
csm_grad, usmm) csm_grad, usmm)
from theano.sparse import basic as sparse from theano.sparse import basic as sparse
from basic import _is_sparse_variable _is_sparse_variable = sparse._is_sparse_variable
# This is tested in tests/test_opt.py:test_local_csm_properties_csm # This is tested in tests/test_opt.py:test_local_csm_properties_csm
@gof.local_optimizer([csm_properties]) @gof.local_optimizer([csm_properties])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论