marcoabreu commented on issue #13598: More fine-grained operator implementation 
dispatch & memory planning flow 
URL: 
https://github.com/apache/incubator-mxnet/issues/13598#issuecomment-446384192
 
 
   Just had a small chat with Haibin. So just to clarify, my idea would be 
rather long-term to avoid having all the preprocessor directivesin the 
FInferStorageTypeEx and similar places.
   
   Within the above design, FInferStorageTypeEx would be part of the abstract 
operator interface which each backend would implement. The memory layout 
manager would then invoke that function in the same fashion as described by 
Haibin but the implementation would be in different places.
   
   I totally see that my proposal is way out of scope for the current problem 
and agree that Haibins method is definitely the best way to go considering the 
constraints of the current design around preprocessor directives.
   
   Just wanted to write down my idea for future cases when the operator 
implementation design might get revisited.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to