MCPcopy Create free account
hub / github.com/apple/ml-4m / postprocess

Method postprocess

fourm/data/modality_transforms.py:1328–1332  ·  view source on GitHub ↗
(self, sample)

Source from the content-addressed store, hash-verified

1326 return v
1327
1328 def postprocess(self, sample):
1329 query_points = self.get_query_points()
1330 target_tokens = self.get_target_tokens(sample, query_points)
1331 final_string = self.convert_target_tokens_to_string(target_tokens)
1332 return final_string
1333
1334
1335class CropSettingsTransform(AbstractTransform):

Callers

nothing calls this directly

Calls 3

get_query_pointsMethod · 0.95
get_target_tokensMethod · 0.95

Tested by

no test coverage detected