“9725a4f3c8b70a57707001d1f8c93efb9bcf0baa”上不存在“mobile/tools/python/imagetools/img2nhwc.py”
提交 f7071e2e 编写于 作者: Y yejianwu

update bias_add test with random size

上级 23d4246c
...@@ -64,8 +64,8 @@ TEST_F(BiasAddOpTest, SimpleRandomOPENCL) { ...@@ -64,8 +64,8 @@ TEST_F(BiasAddOpTest, SimpleRandomOPENCL) {
// generate random input // generate random input
index_t batch = 1 + rand() % 10; index_t batch = 1 + rand() % 10;
index_t channels = 3 + rand() % 50; index_t channels = 3 + rand() % 50;
index_t height = 64; index_t height = 64 + rand() % 50;
index_t width = 64; index_t width = 64 + rand() % 50;
// Construct graph // Construct graph
auto &net = test_net(); auto &net = test_net();
...@@ -110,8 +110,8 @@ TEST_F(BiasAddOpTest, ComplexRandomOPENCL) { ...@@ -110,8 +110,8 @@ TEST_F(BiasAddOpTest, ComplexRandomOPENCL) {
// generate random input // generate random input
index_t batch = 1 + rand() % 10; index_t batch = 1 + rand() % 10;
index_t channels = 3 + rand() % 50; index_t channels = 3 + rand() % 50;
index_t height = 103; index_t height = 103 + rand() % 100;
index_t width = 113; index_t width = 113 + rand() % 100;
// Construct graph // Construct graph
auto &net = test_net(); auto &net = test_net();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册