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

Method testPred

codes/Models.py:566–569  ·  view source on GitHub ↗
(self, usr, trnMask)

Source from the content-addressed store, hash-verified

564 return self.MLP.crossPred(pckUEmbeds, iEmbeds)
565
566 def testPred(self, usr, trnMask):
567 uEmbeds, iEmbeds = self.forward()
568 allPreds = self.predAll(uEmbeds[usr], iEmbeds) * (1 - trnMask) - trnMask * 1e8
569 return allPreds
570

Callers

nothing calls this directly

Calls 2

forwardMethod · 0.95
predAllMethod · 0.95

Tested by

no test coverage detected