()
| 78 | |
| 79 | @memoize("relax.tests.test_codegen_dnnl.conv2d_relu_x2") |
| 80 | def get_ref(): |
| 81 | data_np = np.random.randn(1, 64, 56, 56).astype("float32") |
| 82 | weight1_np = np.random.randn(64, 64, 3, 3).astype("float32") |
| 83 | weight2_np = np.random.randn(64, 64, 3, 3).astype("float32") |
| 84 | inputs = [data_np, weight1_np, weight2_np] |
| 85 | ref = build_and_run(Conv2dReLUx2, inputs, legalize=True) |
| 86 | return inputs, ref |
| 87 | |
| 88 | inputs, ref = get_ref() |
| 89 |
no test coverage detected
searching dependent graphs…