code: def check_transform_produces_correct_output_type_backward(
      model, inputs, checker
  ):
      # It's pretty redundant to check these three assertions, so if the tests
      # get slow this could be removed. I think it should be fine though?
      outputs, backprop = model.begin_update(inputs)
      d_inputs = backprop(outputs)
      assert checker(inputs, d_inputs)
  
imports: import numpy
  import numpy.testing
  import pytest
  from thinc.api import Linear, Model, NumpyOps, noop, with_array, with_array2d, with_getitem, with_list, with_padded, with_ragged
  from thinc.types import Padded, Ragged
  from ..util import get_data_checker
label_desc: Use image node_id 16 for calling a global function with example usage: check_transform_produces_correct_output_type_backward(model, inputs, checker) without return types