tqchen commented on pull request #7945:
URL: https://github.com/apache/tvm/pull/7945#issuecomment-829611498


   reshape only was a property about the function itself, the property have 
well-defined meaning in functional land. While alias property itself does not 
have a clear definition in the function land and is closer to the execution 
property.
   
   So likely a reshape only tag can appear in early stage of compilation 
without a problem. While alias tag would likely need to only appear when we 
start to think about memory planning.
   
   For general ops, having alias information alone may not give a complete 
picture, as the operator semantics itself is also part of the picture. For some 
ops, alias needs to be enforced(e.g. case of scatter sparse add to dense), 
while others the impact is more minimum(e.g. reshape).  Reshape only in that 
regard is a more narrow tag that specifies the op semantics as well
   
   
   


-- 
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:
us...@infra.apache.org


Reply via email to