ezyang commented on PR #33925: URL: https://github.com/apache/arrow/pull/33925#issuecomment-1422792755
I mean, one way or another the out of bound communication has to happen. In the cases of names, the out of band communication is "sender and receiver agree on common meaning of particular string names" and works pretty OK for specific domains (e.g., images) where these conventions agree. With the case of a layout permutation, the communication is "sender and receiver agree on the semantics of the positions of logical dimensions (e.g., after you apply the permutation)." This is more general because you don't have to have agreed on names for a particular dimension. The user code can then do whatever it needs (e.g., pass `channels_last=True/False` to an operator on the image) to line up the logical interpretation. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
