提交 f4ad0ed8 authored 作者: Brandon T. Willard's avatar Brandon T. Willard 提交者: Brandon T. Willard

Seed TestSP.test_maxpool

上级 2bf690af
......@@ -184,7 +184,8 @@ class TestSP:
def test_maxpool(self):
# generate flatted images
maxpoolshps = ((2, 2), (3, 3), (4, 4), (5, 5), (6, 6))
imval = np.random.random((4, 5, 10, 10))
rng = np.random.default_rng(2938)
imval = rng.random((4, 5, 10, 10))
images = dmatrix()
for maxpoolshp in maxpoolshps:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论