Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ Program
Method
Program
paddle/pir/src/core/program.cc:55–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
53
} // namespace
54
55
Program::Program(IrContext* context) {
56
module_ = ModuleOp::Create(context, this);
57
id_ = GetUniqueRandomId();
58
}
59
60
Program::~Program() {
61
if (module_) {
Callers
15
main
Function · 0.45
load
Function · 0.45
_manual_program_seed
Function · 0.45
_load_program_scope
Function · 0.45
_run_static_single
Function · 0.45
load_inference_model_pir
Function · 0.45
run_adaround
Function · 0.45
convert_weight_to_fp16
Method · 0.45
build_program
Method · 0.45
_init_context
Function · 0.45
__save_remote_params
Function · 0.45
__save_distributed_lookup_tables
Function · 0.45
Calls
2
GetUniqueRandomId
Function · 0.85
Create
Function · 0.50
Tested by
15
main
Function · 0.36
make_program
Function · 0.36
get_dist_prog
Function · 0.36
get_dist_prog
Function · 0.36
test_build_api
Method · 0.36
get_program
Function · 0.36
test_error
Method · 0.36
test_build_replicated_program
Method · 0.36
test_build_with_shard_tensor
Method · 0.36
test_build_with_apply_mix2dist_pass
Method · 0.36
test_build_with_apply_dist2dense_pass
Method · 0.36
build_program
Method · 0.36