tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.cc
// Convert op represented in TFLite builtin_code to its corresponding MLIR
// OperationName.
Convert op represented in TFLite builtin_code to its corresponding MLIR
OperationName.
Convert op represented in TFLite builtin_code to its corresponding MLIR OperationName .
void TfLiteBuiltinOpToMlir(const BuiltinOperatorSet& tflite_builtin_codes,
                           StringSet& mlir_op_names) {
  for (const auto& entry : tflite_builtin_codes) {
    StringRef tflite_op_name = EnumNameBuiltinOperator(entry);
    std::string mlir_name = llvm::Twine("tfl.", tflite_op_name.lower()).str();
    mlir_op_names.insert(std::move(mlir_name));
  }
}
void TfLiteBuiltinOpToMlir ( const BuiltinOperatorSet & tflite_builtin_codes , StringSet & mlir_op_names ) { for ( const auto & entry : tflite_builtin_codes ) { StringRef tflite_op_name = EnumNameBuiltinOperator ( entry ) ; std :: string mlir_name = llvm :: Twine ( " " , tflite_op_name . lower ( ) ) . str ( ) ; mlir_op_names . insert ( std :: move ( mlir_name ) ) ; } }
Convert op represented in TFLite builtin_code to its corresponding MLIR
OperationName.
Convert op represented in TFLite builtin_code to its corresponding MLIR OperationName .