Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ use_pir_api
Function
use_pir_api
python/paddle/base/framework.py:393–394 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
391
392
393
def
use_pir_api() -> bool:
394
return
global_var._use_pir_api_
395
396
397
def
in_dynamic_or_pir_mode() -> bool:
Callers
15
cond
Function · 0.90
randint
Function · 0.90
__init__
Method · 0.90
state_dict
Method · 0.90
_build_distributed_state_dict
Method · 0.90
set_state_dict
Method · 0.90
to_static
Function · 0.90
get_dist_attr
Function · 0.90
create_predictor
Method · 0.90
_get_output_vars
Function · 0.90
_build_load_path_and_config
Function · 0.90
save
Function · 0.90
Calls
no outgoing calls
Tested by
10
check_jit_comp
Method · 0.72
check_jit_comp_with_cinn
Method · 0.72
check_jit_comp
Method · 0.72
check_jit_comp_with_cinn
Method · 0.72
test_static_and_infer
Method · 0.72
assertShapeEqual
Method · 0.72
test_static_binary_0D_0D
Method · 0.72
test_static_binary_0D_ND
Method · 0.72
test_static_binary_ND_0D
Method · 0.72
test_static_binary_0D_scalar
Method · 0.72