MCPcopy Index your code
hub / github.com/OpenMeshLab/MeshXL / forward

Method forward

models/mesh_xl/tokenizer.py:137–145  ·  view source on GitHub ↗
(self, data_dict: dict)

Source from the content-addressed store, hash-verified

135
136
137 def forward(self, data_dict: dict) -> dict:
138
139 encoder_output = self.tokenize(data_dict)
140 decoder_output = self.detokenize(
141 input_ids = encoder_output['codes'],
142 )
143 data_dict.update(encoder_output)
144 data_dict.update(decoder_output)
145 return data_dict

Callers

nothing calls this directly

Calls 3

tokenizeMethod · 0.95
detokenizeMethod · 0.95
updateMethod · 0.80

Tested by

no test coverage detected