code: def cnn_model(test_data_arrow_head):
      """Create an instance of fitted ResNet Classifier model."""
      from sktime.classification.deep_learning.cnn import CNNClassifier
  
      y_train, _, X_train, _ = test_data_arrow_head
  
      return CNNClassifier(
          n_epochs=1, n_conv_layers=1, kernel_size=3
      ).fit(X_train, y_train)
  
imports: import os
  import sys
  from pathlib import Path
  from unittest import mock
  import numpy
  import pandas
  import pytest
  from sktime.datasets import load_airline, load_arrow_head, load_longley
  from sktime.forecasting.arima import AutoARIMA
  from sktime.forecasting.naive import NaiveForecaster
  from sktime.split import temporal_train_test_split
  from sktime.utils.multiindex import flatten_multiindex
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 8 for calling a global function with example usage: cnn_model(test_data_arrow_head) and returns: CNNClassifier