class_docstr: Test Denormalize Util.
class_docstr_tok: ["Test","Denormalize","Util","."]
docstr: Denormalize should return a numpy array of order [HxWxC]
code: def test_denormalize_channel_order(self, data_sample):
      """Denormalize should return a numpy array of order [HxWxC]"""
      denormalized_sample = Denormalize()(
          data_sample["image"].squeeze()
      )
      assert (
          len(denormalized_sample.shape) == 3
          and denormalized_sample.shape[-1] == 3
      )
  
imports: import os
  import numpy
  import pytest
  from anomalib.config import update_input_size_config
  from anomalib.data import Avenue, BTech, Folder, MVTec, ShanghaiTech, UCSDped, Visa, get_datamodule
  from anomalib.data.utils import DirType
  from anomalib.pre_processing.transforms import Denormalize, ToNumpy
  from tests.helpers.config import get_test_configurable_parameters
  from tests.helpers.dataset import TestDataset, get_dataset_path
label_desc: Use image node_id 3 for calling the TestDenormalize obj's underlying member method code with example usage: obj.test_denormalize_channel_order(data_sample) without return types