| 198 | } |
| 199 | |
| 200 | static inline std::string GetOperatorName(const Record &def) { |
| 201 | auto name = def.getValueAsString("opName"); |
| 202 | // Special case for basic_lstm. |
| 203 | if (name == "basic_lstm") { |
| 204 | return "LSTM"; |
| 205 | } |
| 206 | return name.upper(); |
| 207 | } |
| 208 | |
| 209 | // Emits a function that returns builtin operator code for each TFLite op. |
| 210 | // |
no outgoing calls
no test coverage detected