Home
last modified time | relevance | path

Searched refs:OpsRegistry (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dops_registry.h29 class OpsRegistry {
37 static OpsRegistry& GetSingleton();
41 OpsRegistry() {}; in OpsRegistry() function
42 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))
H A Dops_registry.cpp21 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()
H A Dinner_model.cpp424 const Ops::OpsRegistry& opsRegistry = Ops::OpsRegistry::GetSingleton(); in AddOperation()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/
H A Dops_registry_test.cpp44 OpsRegistry& opsregistry = OpsRegistry::GetSingleton();
58 OpsRegistry& opsregistry = OpsRegistry::GetSingleton();
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dops_registry_test.cpp44 OpsRegistry& opsregistry = OpsRegistry::GetSingleton();
58 OpsRegistry& opsregistry = OpsRegistry::GetSingleton();