fix avg_pool operator, adding filter input

This commit is contained in:
yanghaoran 2020-07-17 18:18:33 +08:00
parent 5b6a59e13e
commit 86efd33682
1 changed files with 2 additions and 1 deletions

View File

@ -28,8 +28,9 @@ avg_pool_op_info = TBERegOp("AvgPool") \
.attr("padding", "required", "str", "all") \ .attr("padding", "required", "str", "all") \
.attr("data_format", "optional", "str", "all") \ .attr("data_format", "optional", "str", "all") \
.input(0, "x", False, "required", "all") \ .input(0, "x", False, "required", "all") \
.input(1, "filter", False, "optional", "all") \
.output(0, "y", False, "required", "all") \ .output(0, "y", False, "required", "all") \
.dtype_format(DataType.F16_5HD, DataType.F16_5HD) \ .dtype_format(DataType.F16_5HD, DataType.F16_FracZ, DataType.F16_5HD) \
.get_op_info() .get_op_info()