提交 98b25ae1 authored 作者: Matthew Rocklin's avatar Matthew Rocklin

clean comments in solve-shape test

上级 541606dc
...@@ -447,11 +447,9 @@ class test_Solve(utt.InferShapeTester): ...@@ -447,11 +447,9 @@ class test_Solve(utt.InferShapeTester):
b = theano.tensor.matrix() b = theano.tensor.matrix()
self._compile_and_check([A, b], # theano.function inputs self._compile_and_check([A, b], # theano.function inputs
[self.op(A, b)], # theano.function outputs [self.op(A, b)], # theano.function outputs
# Always use not square matrix! # A must be square
# inputs data
[numpy.asarray(numpy.random.rand(5, 5), [numpy.asarray(numpy.random.rand(5, 5),
dtype=config.floatX), dtype=config.floatX),
numpy.asarray(numpy.random.rand(5, 1), numpy.asarray(numpy.random.rand(5, 1),
dtype=config.floatX)], dtype=config.floatX)],
# Op that should be removed from the graph.
self.op_class) self.op_class)
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论