code: def test_concatenate():
      data = numpy.asarray([[1, 2, 3], [4, 5, 6]], dtype="f")
      model = concatenate(Linear(), Linear())
      model.initialize(data, data)
      Y, backprop = model(data, is_train=True)
      assert Y.shape[1] == sum(
          [layer.predict(data).shape[1] for layer in model.layers]
      )
      dX = backprop(Y)
      assert dX.shape == data.shape
  
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose
  from thinc.api import Dropout, Linear, Model, NumpyOps, add, clone, concatenate, map_list, noop
  from thinc.layers import chain, tuplify
label_desc: Use image node_id 36 for calling a global function with example usage: test_concatenate() without return types