Generate a unique PDNode's name with name_scope and id. The format is {name_scope}/{repr}/{id}/{name}
| 440 | // Generate a unique PDNode's name with name_scope and id. |
| 441 | // The format is {name_scope}/{repr}/{id}/{name} |
| 442 | static std::string PDNodeName(const std::string& name_scope, |
| 443 | const std::string& repr, |
| 444 | size_t id, |
| 445 | const std::string& name) { |
| 446 | return string::Sprintf("%s/%s/%d/%s", name_scope, repr, id, name); |
| 447 | } |
| 448 | // Generate a unique PDNode's name. |
| 449 | // The format is {name_scope}/{repr}/{id} |
| 450 | static std::string PDNodeName(const std::string& name_scope, |
no test coverage detected