FrozenGene commented on pull request #5754:
URL: https://github.com/apache/incubator-tvm/pull/5754#issuecomment-642651252


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


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