comaniac commented on pull request #7142:
URL: https://github.com/apache/tvm/pull/7142#issuecomment-749830449


   I see what you meant. How about we just simply add a test in 
`test_topi_conv2d_int8.py` that directly calls 
`fallback_schedule_cpu_common_int8` that takes a workload generated by 
`_get_workload`? Something like:
   ```python
   def test_worload_with_asmmetric_padding():
     cfg = ...
     wkl = _get_workload(...) # with asmmetric padding
     int32_lanes = ...
     num_int8_elements = ...
     fallback_schedule_cpu_common_int8(cfg, wkl, int32_lanes, num_int8_elements)
     assert cfg["tile_ow"] ... # check if tile_ow candidates are the factors of 
the right output weight.
   ```
   
   So does the other ops changed by this PR.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to