code: def get_list_model():
      def _trim_list_forward(model, Xs, is_train):
          def backprop(dYs):
              dXs = []
              for dY in dYs:
                  dXs.append(
                      model.ops.alloc2f(dY.shape[0], dY.shape[1] + 1)
                  )
              return dXs
  
          Ys = [X[:, :-1] for X in Xs]
          return Ys, backprop
  
      return with_list(Model("trimlist", _trim_list_forward))
  
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 11 for calling a global function with example usage: get_list_model() and returns: with_list, Ys,  backprop, dXs