MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetOperatorName

Function GetOperatorName

tensorflow/compiler/mlir/lite/converter_gen.cc:200–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200static 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//

Callers 1

EmitGetBuiltinOpCodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected