Searched refs:OpsRegistry (Results 1 – 5 of 5) sorted by relevance
29 class OpsRegistry {37 static OpsRegistry& GetSingleton();41 OpsRegistry() {}; in OpsRegistry() function42 OpsRegistry(const OpsRegistry&) = delete;43 OpsRegistry& operator=(const OpsRegistry&) = delete;50 #define REGISTER_OPS(T, opsType) static OpsRegistry::Registrar g_##T(opsType, CREATE_FUNC(T))
21 OpsRegistry::Registrar::Registrar(OH_NN_OperationType opsType, std::function<std::unique_ptr<OpsBui… in Registrar()23 OpsRegistry& registry = OpsRegistry::GetSingleton(); in Registrar()31 OpsRegistry& OpsRegistry::GetSingleton() in GetSingleton()33 static OpsRegistry opsRegistry; in GetSingleton()37 std::unique_ptr<OpsBuilder> OpsRegistry::GetOpsBuilder(OH_NN_OperationType type) const in GetOpsBuilder()
424 const Ops::OpsRegistry& opsRegistry = Ops::OpsRegistry::GetSingleton(); in AddOperation()
44 OpsRegistry& opsregistry = OpsRegistry::GetSingleton();58 OpsRegistry& opsregistry = OpsRegistry::GetSingleton();