Generates a fully qualified computation/instruction name.
| 58 | |
| 59 | // Generates a fully qualified computation/instruction name. |
| 60 | string GetFullName(const string& base_name, char separator, int64 id) { |
| 61 | const char separator_str[] = {separator, '\0'}; |
| 62 | return StrCat(base_name, separator_str, id); |
| 63 | } |
| 64 | |
| 65 | // Common function to standardize setting name and IDs on computation and |
| 66 | // instruction proto entities. |
no test coverage detected