MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / func

Function func

fastdeploy/model_executor/models/interfaces_base.py:85–87  ·  view source on GitHub ↗
(model)

Source from the content-addressed store, hash-verified

83
84def default_pooling_type(pooling_type: str):
85 def func(model):
86 model.default_pooling_type = pooling_type # type: ignore
87 return model
88
89 return func

Callers 11

wrapperFunction · 0.85
fnFunction · 0.85
async_wrapperFunction · 0.85
sync_wrapperFunction · 0.85
load_tool_parser_pluginsFunction · 0.85
wrapperFunction · 0.85

Calls

no outgoing calls