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

Function UpdateLinkedFlags

paddle/common/flags_native.cc:428–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426 return FlagRegistry::Instance()->SetFlagValue(name, value);
427}
428PADDLE_API bool UpdateLinkedFlags(const std::string& name,
429 const std::string& value) {
430 return FlagRegistry::Instance()->UpdateLinkedFlags(name, value);
431}
432
433bool FindFlag(const std::string& name) {
434 return FlagRegistry::Instance()->HasFlag(name);

Callers 1

SetFlagValueMethod · 0.70

Calls 2

InstanceFunction · 0.85
UpdateLinkedFlagsMethod · 0.80

Tested by

no test coverage detected