提交 ca03aa1a authored 作者: Tanjay94's avatar Tanjay94

Fixed scipy importation error.

上级 1819b71d
......@@ -144,6 +144,10 @@ def test_eigvalsh():
def test_eigvalsh_grad():
if not imported_scipy:
raise SkipTest("Scipy needed for the geigvalsh op.")
import scipy.linalg
rng = numpy.random.RandomState(utt.fetch_seed())
a = rng.randn(5, 5)
a = a + a.T
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论