#include "tensorflow/lite/core/acceleration/configuration/delegate_registry.h"
#include <functional>
#include <string>
#include "absl/synchronization/mutex.h"
namespace tflite {
namespace delegates {
void DelegatePluginRegistry::RegisterImpl(
const std::string& name,
std::function<
std::unique_ptr<DelegatePluginInterface>(const TFLiteSettings&)>
creator_function) { … }
std::unique_ptr<DelegatePluginInterface> DelegatePluginRegistry::CreateImpl(
const std::string& name, const TFLiteSettings& settings) { … }
DelegatePluginRegistry* DelegatePluginRegistry::GetSingleton() { … }
std::unique_ptr<DelegatePluginInterface> DelegatePluginRegistry::CreateByName(
const std::string& name, const TFLiteSettings& settings) { … }
DelegatePluginRegistry::Register::Register(const std::string& name,
CreatorFunction creator_function) { … }
}
}