MCPcopy 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
393def use_pir_api() -> bool:
394 return global_var._use_pir_api_
395
396
397def in_dynamic_or_pir_mode() -> bool:

Callers 15

condFunction · 0.90
randintFunction · 0.90
__init__Method · 0.90
state_dictMethod · 0.90
set_state_dictMethod · 0.90
to_staticFunction · 0.90
get_dist_attrFunction · 0.90
create_predictorMethod · 0.90
_get_output_varsFunction · 0.90
saveFunction · 0.90

Calls

no outgoing calls

Tested by 10

check_jit_compMethod · 0.72
check_jit_compMethod · 0.72
test_static_and_inferMethod · 0.72
assertShapeEqualMethod · 0.72