(heads, relations, tails)
| 97 | |
| 98 | @staticmethod |
| 99 | def DistMult(heads, relations, tails): |
| 100 | x = heads * relations * tails |
| 101 | score = x.sum(dim=1) |
| 102 | return score |
| 103 | |
| 104 | @staticmethod |
| 105 | def ComplEx(heads, relations, tails): |
nothing calls this directly
no outgoing calls
no test coverage detected