> So I mean to add a `convert_data_type` pass that is similar to 
> `alter_op_layout` but converts datatype (and we can do something like `if 
> topi_impl == 'spatial_nhwc' converts to int16`.

I think this is one interesting pass. Like we have `_alter_op_layout` and will 
have different logic for different strategy , then we have `_alter_op_dtype` 
pass and will have different logic for different strategy. 

However, this pass seems do most of the same thing in legalize (change dtype).  
So our legalization pass should complete this work according to different 
strategy. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-tvm/pull/5754#issuecomment-642651252

Reply via email to