MCPcopy Create free account
hub / github.com/apple/ml-pointersect / reset_outputs

Method reset_outputs

pointersect/script/train_v2.py:1272–1277  ·  view source on GitHub ↗

Set the outputs of the model to None.

(self)

Source from the content-addressed store, hash-verified

1270 return out_dict
1271
1272 def reset_outputs(self):
1273 """
1274 Set the outputs of the model to None.
1275 """
1276 for name in self.outputs_name:
1277 setattr(self, name, None)
1278
1279 def reset_losses(self):
1280 """

Callers 3

train_stepMethod · 0.95
validation_stepMethod · 0.95
test_stepMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_stepMethod · 0.76