MCPcopy Create free account
hub / github.com/AMAP-ML/Thinking-with-Map / apply

Method apply

demo/qwen_agent/tools/python_executor.py:142–143  ·  view source on GitHub ↗
(self, code: str)

Source from the content-addressed store, hash-verified

140 return predictions
141
142 def apply(self, code: str) -> list:
143 return self.batch_apply([code])[0]
144
145 def process_generation_to_code(self, gens: str):
146 return [g.split('\n') for g in gens]

Callers 14

callMethod · 0.95
_testFunction · 0.95
gather_seq_scatter_headsFunction · 0.80
gather_heads_scatter_seqFunction · 0.80
gather_outputs_and_unpadFunction · 0.80
vocab_parallel_entropyFunction · 0.80
forwardMethod · 0.80
_postprocessFunction · 0.80
npu_group_gemmFunction · 0.80
moe_block_forwardFunction · 0.80

Calls 1

batch_applyMethod · 0.95

Tested by

no test coverage detected