code: def test_conv_sequence():
      assert len(conv_sequence_pt(3, 8, kernel_size=3)) == 1
      assert len(conv_sequence_pt(3, 8, True, kernel_size=3)) == 2
      assert (
          len(conv_sequence_pt(3, 8, False, True, kernel_size=3)) == 2
      )
      assert len(conv_sequence_pt(3, 8, True, True, kernel_size=3)) == 3
  
file_path: doctr/tests/pytorch/test_models_utils_pt.py
imports: import os
  import pytest
  import torch
  from torch import nn
  from doctr.models.utils import _bf16_to_float32, _copy_tensor, conv_sequence_pt, load_pretrained_params, set_device_and_dtype
label_desc: Use image node_id 4 for calling a global function with example usage: test_conv_sequence() without return types