Created
September 25, 2018 07:44
-
-
Save lp6m/28f2201051f1a1da1f6465de197e1cc9 to your computer and use it in GitHub Desktop.
test.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int32_t width = 9; | |
int32_t height = 4; | |
ImageParam ip(mk_virt_image_param<uint16_t>({width, height})); | |
ImageParam op(mk_zero_image_param<uint16_t>({width, height})); | |
Func f = convolve2d(ip); | |
iname = ip.name(); | |
oname = f.name(); | |
itouched = Box({{-1, 1}, {-1, 1}}); | |
otouched = Box({{0, 0}, {0, 0}}); | |
return TestParam(f, {}, {ip}, {op}, {0.0}, {iname, oname}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment