code: def _nchw_to_nhwc(self, op):
      node_name = [inp.node.name for inp in op.inputs if inp.const]
      if node_name:
          node_name = node_name[0]
          value = self._run_tensor(node_name)[0]
          if len(value.shape) == 4:
              value = np.transpose(value, (0, 2, 3, 1))
              self._remove_node(self.op_dict[node_name])
              self._create_const_node(node_name, [value])
  
imports: import numpy
  import tensorflow.compat.v1
  from tensorflow.core.framework.tensor_pb2 import TensorProto
  from tensorflow.core.framework.tensor_shape_pb2 import TensorShapeProto
label_desc: Use image node_id 15 for calling the RefineGraph obj's underlying member method code with example usage: obj._nchw_to_nhwc(op) without return types