code: def test_conv_sequence():
      assert len(conv_sequence(8, kernel_size=3)) == 1
      assert len(conv_sequence(8, "relu", kernel_size=3)) == 1
      assert len(conv_sequence(8, None, True, kernel_size=3)) == 2
      assert len(conv_sequence(8, "relu", True, kernel_size=3)) == 3
  
file_path: doctr/tests/tensorflow/test_models_utils_tf.py
imports: import os
  import pytest
  import tensorflow
  from tensorflow.keras import Sequential, layers
  from tensorflow.keras.applications import ResNet50
  from doctr.models.utils import IntermediateLayerGetter, _bf16_to_float32, _copy_tensor, conv_sequence, load_pretrained_params
label_desc: Use image node_id 4 for calling a global function with example usage: test_conv_sequence() without return types