MCPcopy Create free account
hub / github.com/alibaba/MNN / resizeSession

Method resizeSession

source/core/Interpreter.cpp:483–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481 return tensors;
482}
483void Interpreter::resizeSession(Session* session) {
484 resizeSession(session, 0);
485}
486
487void Interpreter::resizeSession(Session* session, int needRelloc) {
488 std::unique_lock<std::mutex> _l(mNet->lock);

Callers 15

modelTestWithConfigFunction · 0.95
modelTestFunction · 0.95
inferenceFunction · 0.95
inferenceFunction · 0.95
mainFunction · 0.80
test_mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
runEvaluationFunction · 0.80
_runMethod · 0.80
runMethod · 0.80

Calls 2

getMethod · 0.45
resizeMethod · 0.45

Tested by 7

modelTestWithConfigFunction · 0.76
mainFunction · 0.64
test_mainFunction · 0.64
mainFunction · 0.64
_runMethod · 0.64
runMethod · 0.64
runMethod · 0.64