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

Function _enable_prim_skip_dynamic_shape

python/paddle/base/core.py:496–499  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

494
495# This api is used for development for dynamic shape in prim, and will be removed in future.
496def _enable_prim_skip_dynamic_shape():
497 from paddle.base.framework import get_flags
498
499 return get_flags("FLAGS_prim_skip_dynamic")["FLAGS_prim_skip_dynamic"]
500
501
502def _enable_prim_dynamic_shape():

Callers

nothing calls this directly

Calls 1

get_flagsFunction · 0.90

Tested by

no test coverage detected