Add NCHW data layout support to GROUPED_CONV_2D.

Add a parameter data_layout to GROUPED_CONV_2D op for NCHW
data layout support. Create testcases and generate test.

Provide reference CPU implementation for NCHW support. The native layout
for CPU implementation is still NHWC. Appropriate transpositions are
applied for NCHW input/output.

Bug: 113562731

Test: NeuralNetworksTest_static
Change-Id: Ic2a4b2ac27fdd5bead7721a563fdddc43bd85aac
Merged-In: Ic2a4b2ac27fdd5bead7721a563fdddc43bd85aac
(cherry picked from commit c510d397d608c94351911eca07521d3211a537bc)
10 files changed