MCPcopy Index your code
hub / github.com/DeepGraphLearning/DiffPack / target

Method target

diffpack/task.py:142–146  ·  view source on GitHub ↗
(self, batch)

Source from the content-addressed store, hash-verified

140 return pred_score, score_norm
141
142 def target(self, batch):
143 protein = batch["graph"]
144 target_score = batch['score'] # Move to protein attribute
145 target_score = target_score * protein.chi_mask
146 return target_score
147
148 def evaluate(self, pred, target):
149 metric = {}

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected