Add NCHW data layout support to DEPTH_TO_SPACE.

Add an optional parameter data_layout to DEPTH_TO_SPACE 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: 112320705

Test: NeuralNetworksTest_static
Change-Id: Ifa383bac6d7802d991587504eb60e7ce78e52103
10 files changed