提交 066be242 authored 作者: Frederic's avatar Frederic

Remove import not used

上级 3a3dde3d
import unittest
import numpy
import numpy.linalg
from numpy.testing import assert_array_almost_equal
from numpy.testing import dec, assert_array_equal, assert_allclose
from numpy import inf
import theano
from theano import tensor, function
......@@ -16,35 +11,17 @@ from theano.tensor.nlinalg import MatrixInverse
from theano.tensor import DimShuffle
# The one in comment are not tested...
from theano.sandbox.linalg.ops import (cholesky,
Cholesky, # op class
CholeskyGrad,
from theano.sandbox.linalg.ops import (Cholesky, # op class
matrix_inverse,
pinv,
Solve,
solve,
diag,
ExtractDiag,
extract_diag,
AllocDiag,
alloc_diag,
det,
svd,
qr,
# PSD_hint,
trace,
matrix_dot,
spectral_radius_bound,
imported_scipy,
Eig,
inv_as_solve,
norm
)
from theano.sandbox.linalg import eig, eigh, eigvalsh
from theano.tests.unittest_tools import attr
from nose.plugins.skip import SkipTest
from nose.tools import assert_raises
def test_rop_lop():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论