An issue occurs in BYOC that x86 scheduling Strategy implemented NCHW -> NCHWc conversion in data layout before and after entry into conv2d. The graph looks sth like this:
… -> layout_transform -> conv2d -> bias_add -> layout_transform -> …
BYOC flow will write out function calls to customer implemented kernels (conv2d, bias_add) here, however, BYOC flow isn’t aware of the layout conversion at all. Since customers take full responsibility in BYOC subgraph, the data layout transform incurred in relay optimization caused wrong data fed into operator functions.
Is this a flow bug for BYOC to be resolved?