MCPcopy Create free account
hub / github.com/PAIR-code/lit / predict_minibatch

Method predict_minibatch

lit_nlp/components/static_preds.py:88–89  ·  view source on GitHub ↗
(self, inputs: list[JsonDict], **kw)

Source from the content-addressed store, hash-verified

86 return self._output_spec
87
88 def predict_minibatch(self, inputs: list[JsonDict], **kw):
89 return list(self.predict(inputs))
90
91 def predict(self, inputs: Iterable[JsonDict], **kw) -> Iterator[JsonDict]:
92 """Predict on known inputs.

Callers

nothing calls this directly

Calls 1

predictMethod · 0.95

Tested by

no test coverage detected