code: def get_logical_shape(physical_shape_nhwc8h8w32c):
      assert len(physical_shape_nhwc8h8w32c) == 7
      logical_shape_nhwc = [physical_shape_nhwc8h8w32c[0]]
      logical_shape_nhwc.append(
          physical_shape_nhwc8h8w32c[1] * physical_shape_nhwc8h8w32c[4]
      )
      logical_shape_nhwc.append(
          physical_shape_nhwc8h8w32c[2] * physical_shape_nhwc8h8w32c[5]
      )
      logical_shape_nhwc.append(
          physical_shape_nhwc8h8w32c[3] * physical_shape_nhwc8h8w32c[6]
      )
      return logical_shape_nhwc
  
file_path: tvm/tests/python/contrib/test_hexagon/infrastructure.py
imports: import numpy
  import tvm
  from tvm import te
  from tvm.relay.backend import Executor
label_desc: Use image node_id 5 for calling a global function with example usage: get_logical_shape(physical_shape_nhwc8h8w32c) and returns: logical_shape_nhwc