MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / forward

Method forward

models/strand_codec.py:415–420  ·  view source on GitHub ↗
(self, gt_dict, hyperparams, normalization_dict)

Source from the content-addressed store, hash-verified

413
414
415 def forward(self, gt_dict, hyperparams, normalization_dict):
416 if hyperparams.normalize_input:
417 gt_dict = normalize_gt_data(gt_dict, normalization_dict)
418 encoded_dict = self.encoder(gt_dict)
419 pred_dict=self.decoder(encoded_dict["z"], hyperparams, normalization_dict)
420 return pred_dict, encoded_dict

Callers

nothing calls this directly

Calls 1

normalize_gt_dataFunction · 0.85

Tested by

no test coverage detected