MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / RunPreparedContext

Method RunPreparedContext

paddle/fluid/framework/executor.cc:533–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533void Executor::RunPreparedContext(ExecutorPrepareContext* ctx,
534 Scope* scope,
535 bool create_local_scope,
536 bool create_vars,
537 bool keep_kids) {
538 int64_t start_op_index = 0;
539 int64_t end_op_index = static_cast<int64_t>(ctx->ops_.size());
540 RunPartialPreparedContext(ctx,
541 scope,
542 start_op_index,
543 end_op_index,
544 create_local_scope,
545 create_vars,
546 keep_kids);
547}
548
549void Executor::RunPreparedContext(
550 ExecutorPrepareContext* ctx,

Callers 6

RunNativeImplMethod · 0.80
RunNativeImplMethod · 0.80
RunImplMethod · 0.80
PYBIND11_MODULEFunction · 0.80
RunMethod · 0.80
TestInferenceFunction · 0.80

Calls 11

PADDLE_GET_CONSTFunction · 0.85
SetFeedVariableFunction · 0.85
AllOpsMethod · 0.80
has_feed_operatorsFunction · 0.70
has_fetch_operatorsFunction · 0.70
sizeMethod · 0.45
BlockMethod · 0.45
TypeMethod · 0.45
OutputMethod · 0.45
GetAttrMethod · 0.45
InputMethod · 0.45

Tested by 1

TestInferenceFunction · 0.64