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

Function GetOpName

tensorflow/lite/tools/optimize/calibration/calibrator.cc:245–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245string GetOpName(const tflite::OperatorCode& opcode) {
246 if (opcode.custom_code() != nullptr) {
247 return opcode.custom_code()->str();
248 }
249 return tflite::EnumNamesBuiltinOperator()[opcode.builtin_code()];
250}
251
252// A |CalibrationReader| that owns the Calibrator.
253class Reader : public CalibrationReader {

Callers 1

BuildLoggingInterpreterFunction · 0.85

Calls 1

EnumNamesBuiltinOperatorFunction · 0.85

Tested by

no test coverage detected