Closed sqPoseidon closed 1 year ago
The AST branch is merged into hcl-mlir branch, and implementation of hcl.max, hcl.min is added by this commit: afe4471ed80455804faf96d793fb367f798344a6
Test case added here: https://github.com/cornell-zhang/heterocl/blob/afe4471ed80455804faf96d793fb367f798344a6/tests/test_reduce.py#L5-L44
I'm using the
hcl-mlir
branch and want to implement the pooling withhcl.max
.I got the wrong results with several different input types. Here's my test case:
I use a 2d zero tensor as the input. The data type is specified as
test_dtype
. For the above test_dtypes:For
test_dtype = hcl.Fixed(12, 6)
, the error message is:Please help check this problem.