guberti commented on code in PR #13752:
URL: https://github.com/apache/tvm/pull/13752#discussion_r1088372130
##########
python/tvm/topi/arm_cpu/qnn.py:
##########
@@ -368,3 +389,136 @@ def kernel_ptr(buffer, c, offset=0):
def schedule_qnn_depthwise_conv2d(_attrs, _outs, _target):
"""Schedule function for qnn.depthwise_conv2d."""
return None
+
+
+def _make_unrolled_conv2d_primfunc(
+ output_dimensions: Tuple[int, int, int],
+ buffer_shapes: Tuple[Tuple, Tuple, Tuple, Tuple, Tuple],
+ function_names: Dict[Tuple, str],
+ function_code: str,
+ ptr_gens: Tuple[Callable, Callable],
+ output_layout="NHWC",
+):
+ out_height, out_width, out_channels = output_dimensions
+ data_shape, kernel_shape, bias_shape, scale_shape, output_shape =
buffer_shapes
+ data_ptr, kernel_ptr = ptr_gens
+
+ def output_ptr(output, y, c):
Review Comment:
Oops, you're right - `_make_row_call` should be `make_row_call`. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]