class_docstr: Implements lit.Model interface for testing.
  
  This class allows user-specified outputs for testing return values.
class_docstr_tok: ["Implements","lit.Model","interface","for","testing",".","This","class","allows","user-specified","outputs","for","testing","return","values","."]
code: def predict_minibatch(self, inputs: list[JsonDict], **kw):
      def predict_single(_):
          output = self._results[
              self._predict_counter % len(self._results)
          ]
          self._predict_counter += 1
          return output
  
      return map(predict_single, inputs)
  
imports: from collections.abc import Iterable, Iterator
  from lit_nlp.api import model
  from lit_nlp.api import types
  import numpy
  import numpy.testing
label_desc: Use image node_id 4 for calling the CustomOutputModelForTesting obj's underlying member method code with example usage: obj.predict_minibatch(inputs) and returns: map, output