code: def test_inline_transformer_tobytes():
      orig_config = Config().from_str(inline_cfg_string)
      nlp = util.load_model_from_config(
          orig_config, auto_fill=True, validate=True
      )
      tagger = nlp.get_pipe("tagger")
      tagger_bytes = tagger.to_bytes()
  
      nlp2 = util.load_model_from_config(
          orig_config, auto_fill=True, validate=True
      )
      tagger2 = nlp2.get_pipe("tagger")
      tagger2.from_bytes(tagger_bytes)
  
imports: import pytest
  import copy
  import spacy
  from spacy import Language
  from spacy.lang.en import English
  from spacy.tests.util import assert_docs_equal
  from spacy.tokens import Doc
  from spacy.util import make_tempdir
  from spacy import util
  import srsly
  from thinc.api import Config, get_current_ops
  from numpy.testing import assert_array_equal
  from ..None import TransformerData
label_desc: Use image node_id 9 for calling a global function with example usage: test_inline_transformer_tobytes() without return types