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

Method output_spec

lit_nlp/lib/testing_utils.py:49–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 return self._input_spec
48
49 def output_spec(self):
50 return {'scores': lit_types.RegressionScore(parent='label')}
51
52 def predict_minibatch(self, inputs: list[JsonDict], **kw):
53 return self.predict(inputs)

Callers 1

validate_modelFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected