code: def general_cases(channel_last):
      """
      Generate use cases
      """
      inspec_and_axis = []
  
      batch = 16
      base_ch = 192
      ch_mul = [1, 1, 2, 2, 4, 4]
      channels = [base_ch * factor for factor in ch_mul]
      resolutions = [256, 128, 64, 32, 16, 8]
      axis = 3 if channel_last else 1
  
      # Create `inspec_and_axis`
      for ch, res in zip(channels, resolutions):
          if channel_last:
              shape = (batch, res, res, ch)
          else:
              shape = (batch, ch, res, res)
          inspec_and_axis.append(([Inspec(shape)], axis))
  
      return inspec_and_axis
  
file_path: nnabla/python/benchmark/function/test_normalization_functions.py
imports: import pytest
  import nnabla
  import nnabla.parametric_functions
  from nnabla.ext_utils import get_extension_context
  from function_benchmark import FunctionBenchmark, Inspec
label_desc: Use image node_id 1 for calling a global function with example usage: general_cases(channel_last) and returns: inspec_and_axis