Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
call
Method · 0.95
_test
Function · 0.95
gather_seq_scatter_heads
Function · 0.80
gather_heads_scatter_seq
Function · 0.80
gather_outputs_and_unpad
Function · 0.80
vocab_parallel_entropy
Function · 0.80
_read_files_and_tokenize
Method · 0.80
_read_files_and_process
Method · 0.80
forward
Method · 0.80
_postprocess
Function · 0.80
npu_group_gemm
Function · 0.80
moe_block_forward
Function · 0.80
Calls
1
batch_apply
Method · 0.95
Tested by
no test coverage detected