MCPcopy Create free account
hub / github.com/HKUDS/PromptMM / testPred

Method testPred

codes/Models_mmlight.py:686–689  ·  view source on GitHub ↗
(self, usr, trnMask)

Source from the content-addressed store, hash-verified

684 return self.MLP.crossPred(pckUEmbeds, iEmbeds)
685
686 def testPred(self, usr, trnMask):
687 uEmbeds, iEmbeds = self.forward()
688 allPreds = self.predAll(uEmbeds[usr], iEmbeds) * (1 - trnMask) - trnMask * 1e8
689 return allPreds
690

Callers

nothing calls this directly

Calls 2

forwardMethod · 0.95
predAllMethod · 0.95

Tested by

no test coverage detected