code: def test_array_validation_valid(arr, arr_type):
      test_model = create_model("TestModel", arr=(arr_type, ...))
      result = test_model(arr=arr)
      assert numpy.array_equal(arr, result.arr)
  
imports: import numpy
  import pytest
  from thinc.types import Floats1d, Floats2d, Floats3d, Floats4d, Ints1d, Ints2d, Ints3d, Ints4d
label_desc: Use image node_id 1 for calling a global function with example usage: test_array_validation_valid(arr, arr_type) without return types