code: def test_pure_cnn_architecture(self):
      trainer_params = uw3_trainer_params()
      trainer_params.scenario.model.layers = [
          Conv2DLayerParams(filters=10),
          MaxPool2DLayerParams(),
          Conv2DLayerParams(
              filters=20,
              strides=IntVec2D(2, 2),
              kernel_size=IntVec2D(4, 4),
          ),
          Conv2DLayerParams(filters=30),
      ]
      post_init(trainer_params)
      cmd_line_trainer_params = parse_args(
          ["--network", "conv=10,pool=2x2,conv=20:4x4:2x2,conv=30"]
      )
      self.assertDictEqual(
          trainer_params.scenario.model.to_dict(),
          cmd_line_trainer_params.scenario.model.to_dict(),
      )
      cmd_line_trainer_params = parse_args(
          [
              "--model.layers",
              "Conv",
              "Pool",
              "Conv",
              "Conv",
              "--model.layers.0.filters",
              "10",
              "--model.layers.2.filters",
              "20",
              "--model.layers.2.kernel_size.x",
              "4",
              "--model.layers.2.kernel_size.y",
              "4",
              "--model.layers.2.strides.x",
              "2",
              "--model.layers.2.strides.y",
              "2",
              "--model.layers.3.filters",
              "30",
          ]
      )
      self.assertDictEqual(
          trainer_params.scenario.model.to_dict(),
          cmd_line_trainer_params.scenario.model.to_dict(),
      )
      with tempfile.TemporaryDirectory() as d:
          trainer_params.output_dir = d
          main(trainer_params)
  
imports: import tempfile
  import unittest
  from tensorflow.python.keras.backend import clear_session
  from tfaip.util.tfaipargparse import post_init
  from calamari_ocr.ocr.model.layers.bilstm import BiLSTMLayerParams
  from calamari_ocr.ocr.model.layers.concat import ConcatLayerParams
  from calamari_ocr.ocr.model.layers.conv2d import Conv2DLayerParams
  from calamari_ocr.ocr.model.layers.dilatedblock import DilatedBlockLayerParams
  from calamari_ocr.ocr.model.layers.layer import IntVec2D
  from calamari_ocr.ocr.model.layers.pool2d import MaxPool2DLayerParams
  from calamari_ocr.ocr.model.layers.transposedconv2d import TransposedConv2DLayerParams
  from calamari_ocr.ocr.model.params import default_layers
  from calamari_ocr.ocr.training.params import parse_network_param
  from calamari_ocr.scripts.train import main, parse_args
  from calamari_ocr.test.test_train_file import uw3_trainer_params
label_desc: Use image node_id 6 for calling the TestNetworkArchitectures obj's underlying member method code with example usage: obj.test_pure_cnn_architecture() without return types