Get a yacs CfgNode object with default values.
(args)
| 350 | |
| 351 | |
| 352 | def get_config(args): |
| 353 | """Get a yacs CfgNode object with default values.""" |
| 354 | # Return a clone so that the defaults will not be altered |
| 355 | # This is for the "local variable" use pattern |
| 356 | config = _C.clone() |
| 357 | update_config(config, args) |
| 358 | |
| 359 | return config |
no test coverage detected