Home
last modified time | relevance | path

Searched refs:V2_1 (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dhdi_returncode_utils_v2_1.h30 {V2_1::NNRT_ReturnCode::NNRT_SUCCESS, "NNRT_SUCCESS"}, in ConverterRetToString()
31 {V2_1::NNRT_ReturnCode::NNRT_FAILED, "NNRT_FAILED"}, in ConverterRetToString()
32 {V2_1::NNRT_ReturnCode::NNRT_NULL_PTR, "NNRT_NULL_PTR"}, in ConverterRetToString()
34 {V2_1::NNRT_ReturnCode::NNRT_MEMORY_ERROR, "NNRT_MEMORY_ERROR"}, in ConverterRetToString()
37 {V2_1::NNRT_ReturnCode::NNRT_INVALID_FILE, "NNRT_INVALID_FILE"}, in ConverterRetToString()
40 {V2_1::NNRT_ReturnCode::NNRT_NO_CHANGE, "NNRT_NO_CHANGE"}, in ConverterRetToString()
41 {V2_1::NNRT_ReturnCode::NNRT_NOT_SUPPORT, "NNRT_NOT_SUPPORT"}, in ConverterRetToString()
44 {V2_1::NNRT_ReturnCode::NNRT_DEVICE_BUSY, "NNRT_DEVICE_BUSY"}, in ConverterRetToString()
45 {V2_1::NNRT_ReturnCode::NNRT_CANCELLED, "NNRT_CANCELLED"}, in ConverterRetToString()
47 {V2_1::NNRT_ReturnCode::NNRT_TIME_OUT, "NNRT_TIME_OUT"}, in ConverterRetToString()
[all …]
H A Dhdi_prepared_model_v2_1.cpp30 return V2_1::DataType::DATA_TYPE_BOOL; in TransDataType()
32 return V2_1::DataType::DATA_TYPE_INT8; in TransDataType()
62 return V2_1::Format::FORMAT_NCHW; in TransFormat()
64 return V2_1::Format::FORMAT_NHWC; in TransFormat()
66 return V2_1::Format::FORMAT_NONE; in TransFormat()
72 V2_1::IOTensor iTensor; in TransIOTensor()
187 std::vector<V2_1::SharedBuffer> iBuffers; in ExportModelCache()
212 V2_1::IOTensor iTensor; in Run()
213 std::vector<V2_1::IOTensor> iInputTensors; in Run()
249 V2_1::IOTensor iTensor; in Run()
[all …]
H A Dhdi_device_v2_1.cpp38 case V2_1::DeviceType::CPU: in TransHDIDeviceV2_1Type()
40 case V2_1::DeviceType::GPU: in TransHDIDeviceV2_1Type()
54 case V2_1::DeviceStatus::BUSY: in TransHDIDeviceV2_1Status()
56 case V2_1::DeviceStatus::OFFLINE: in TransHDIDeviceV2_1Status()
160 V2_1::DeviceType iDeviceType; in GetDeviceType()
172 V2_1::DeviceStatus iDeviceStatus; in GetDeviceStatus()
304 V2_1::ModelConfig iModelConfig; in PrepareModel()
355 V2_1::ModelConfig iModelConfig; in PrepareModelFromModelCache()
381 V2_1::SharedBuffer buffer; in AllocateBuffer()
403 V2_1::SharedBuffer buffer; in AllocateBuffer()
[all …]
H A Dhdi_prepared_model_v2_1.h30 namespace V2_1 = OHOS::HDI::Nnrt::V2_1; variable
36 explicit HDIPreparedModelV2_1(OHOS::sptr<V2_1::IPreparedModel> hdiPreparedModel);
59 OHOS::sptr<V2_1::IPreparedModel> m_hdiPreparedModel {nullptr};
H A Dlite_graph_to_hdi_model_v2_1.h25 void HDIModel_Destroy(OHOS::HDI::Nnrt::V2_1::Model **model);
26 OHOS::HDI::Nnrt::V2_1::Model *LiteGraph_To_HDIModel(const mindspore::lite::LiteGraph *liteGraph,
27 const OHOS::HDI::Nnrt::V2_1::SharedBuffer &buffer);
H A Dhdi_device_v2_1.h28 namespace V2_1 = OHOS::HDI::Nnrt::V2_1; variable
31 explicit HDIDeviceV2_1(OHOS::sptr<V2_1::INnrtDevice> device);
70 OH_NN_ReturnCode ReleaseSharedBuffer(const V2_1::SharedBuffer& buffer);
85 OHOS::sptr<V2_1::INnrtDevice> m_iDevice {nullptr};
H A Dlite_graph_to_hdi_model_v2_1.cpp26 using namespace OHOS::HDI::Nnrt::V2_1;
1747 std::vector<OHOS::HDI::Nnrt::V2_1::QuantParam> result; in MindIR_Tensor_GetQuantParams_OHOS()
1763 void HDIModel_Destroy(OHOS::HDI::Nnrt::V2_1::Model **model) in HDIModel_Destroy()
1784 OHOS::HDI::Nnrt::V2_1::SharedBuffer result{}; in Copy_MindIR_Tensor_Data_To_HDIBuffer()
1806 const OHOS::HDI::Nnrt::V2_1::SharedBuffer &buffer) in LiteGraph_To_HDIModel()
1815 std::vector<OHOS::HDI::Nnrt::V2_1::Node> nodes; in LiteGraph_To_HDIModel()
1816 std::vector<OHOS::HDI::Nnrt::V2_1::Tensor> allTensors; in LiteGraph_To_HDIModel()
1817 std::vector<OHOS::HDI::Nnrt::V2_1::SubGraph> subGraph; in LiteGraph_To_HDIModel()
1825 OHOS::HDI::Nnrt::V2_1::Node tmp; in LiteGraph_To_HDIModel()
1852 OHOS::HDI::Nnrt::V2_1::Tensor tmp; in LiteGraph_To_HDIModel()
[all …]
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/service/inc/
H A Dpin_auth_hdi.h29 using IPinAuthInterface = OHOS::HDI::PinAuth::V2_1::IPinAuthInterface;
32 using HdiIAllInOneExecutor = OHOS::HDI::PinAuth::V2_1::IAllInOneExecutor;
33 using HdiICollector = OHOS::HDI::PinAuth::V2_1::ICollector;
34 using HdiIVerifier = OHOS::HDI::PinAuth::V2_1::IVerifier;
35 using HdiIExecutorCallback = OHOS::HDI::PinAuth::V2_1::IExecutorCallback;
37 using HdiAuthType = OHOS::HDI::PinAuth::V2_1::AuthType;
38 using HdiExecutorRole = OHOS::HDI::PinAuth::V2_1::ExecutorRole;
39 using HdiExecutorSecureLevel = OHOS::HDI::PinAuth::V2_1::ExecutorSecureLevel;
40 using HdiExecutorInfo = OHOS::HDI::PinAuth::V2_1::ExecutorInfo;
41 using HdiGetPropertyType = OHOS::HDI::PinAuth::V2_1::GetPropertyType;
[all …]
H A Dverifier_impl.h36 int32_t GetExecutorInfo(OHOS::HDI::PinAuth::V2_1::ExecutorInfo &executorInfo) override;
/ohos5.0/base/useriam/pin_auth/services/modules/common/inc/
H A Dpin_auth_hdi.h32 using IPinAuthInterface = OHOS::HDI::PinAuth::V2_1::IPinAuthInterface;
35 using IAllInOneExecutor = OHOS::HDI::PinAuth::V2_1::IAllInOneExecutor;
36 using ICollector = OHOS::HDI::PinAuth::V2_1::ICollector;
37 using IVerifier = OHOS::HDI::PinAuth::V2_1::IVerifier;
39 using IExecutorCallback = OHOS::HDI::PinAuth::V2_1::IExecutorCallback;
41 using AuthType = OHOS::HDI::PinAuth::V2_1::AuthType;
42 using ExecutorRole = OHOS::HDI::PinAuth::V2_1::ExecutorRole;
43 using ExecutorSecureLevel = OHOS::HDI::PinAuth::V2_1::ExecutorSecureLevel;
44 using ExecutorInfo = OHOS::HDI::PinAuth::V2_1::ExecutorInfo;
46 using GetPropertyType = OHOS::HDI::PinAuth::V2_1::GetPropertyType;
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_1/hdi_prepared_model/
H A Dhdi_prepared_model_test.cpp97 OHOS::sptr<V2_1::MockIPreparedModel>(new (std::nothrow) V2_1::MockIPreparedModel()); in Run()
119 OHOS::sptr<V2_1::MockIPreparedModel>(new (std::nothrow) V2_1::MockIPreparedModel());
135 OHOS::sptr<V2_1::MockIPreparedModel>(new (std::nothrow) V2_1::MockIPreparedModel());
160 OHOS::sptr<V2_1::MockIPreparedModel>(new (std::nothrow) V2_1::MockIPreparedModel());
186 OHOS::sptr<V2_1::MockIPreparedModel>(new (std::nothrow) V2_1::MockIPreparedModel());
204 OHOS::sptr<V2_1::MockIPreparedModel>(new (std::nothrow) V2_1::MockIPreparedModel());
232 OHOS::sptr<V2_1::MockIPreparedModel>(new (std::nothrow) V2_1::MockIPreparedModel());
261 V2_1::IOTensor iTensor;
268 OHOS::sptr<V2_1::MockIPreparedModel>(new (std::nothrow) V2_1::MockIPreparedModel());
316 OHOS::sptr<V2_1::MockIPreparedModel>(new (std::nothrow) V2_1::MockIPreparedModel());
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/
H A Dinner_model_test.cpp991 OHOS::HDI::Nnrt::V2_1::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1005 OHOS::HDI::Nnrt::V2_1::SharedBuffer tensorBuffer {0, 0, 0, 0};
1034 OHOS::HDI::Nnrt::V2_1::SharedBuffer tensorBuffer {-1, 1, 1, 1};
1054 OHOS::HDI::Nnrt::V2_1::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1070 OHOS::HDI::Nnrt::V2_1::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1095 OHOS::HDI::Nnrt::V2_1::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1116 OHOS::HDI::Nnrt::V2_1::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1135 OHOS::HDI::Nnrt::V2_1::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1157 OHOS::HDI::Nnrt::V2_1::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1176 OHOS::HDI::Nnrt::V2_1::SharedBuffer tensorBuffer {-1, 0, 0, 0};
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_device/
H A Dhdi_device_test.cpp53 namespace V2_1 { namespace
212 …OHOS::sptr<V2_1::MockIDevice> sp = OHOS::sptr<V2_1::MockIDevice>(new (std::nothrow) V2_1::MockIDev… in PrepareModelv2()
1763 V2_1::DeviceType iDeviceType = V2_1::DeviceType::CPU;
1786 V2_1::DeviceType iDeviceType = V2_1::DeviceType::CPU;
2337 …OHOS::sptr<V2_1::MockIDevice> sp = OHOS::sptr<V2_1::MockIDevice>(new (std::nothrow) V2_1::MockIDev…
2365 …OHOS::sptr<V2_1::MockIDevice> sp = OHOS::sptr<V2_1::MockIDevice>(new (std::nothrow) V2_1::MockIDev…
2396 …OHOS::sptr<V2_1::MockIDevice> sp = OHOS::sptr<V2_1::MockIDevice>(new (std::nothrow) V2_1::MockIDev…
2451 …OHOS::sptr<V2_1::MockIDevice> sp = OHOS::sptr<V2_1::MockIDevice>(new (std::nothrow) V2_1::MockIDev…
2489 …OHOS::sptr<V2_1::MockIDevice> sp = OHOS::sptr<V2_1::MockIDevice>(new (std::nothrow) V2_1::MockIDev…
2527 …OHOS::sptr<V2_1::MockIDevice> sp = OHOS::sptr<V2_1::MockIDevice>(new (std::nothrow) V2_1::MockIDev…
[all …]
/ohos5.0/base/useriam/pin_auth/services/modules/driver/inc/
H A Dpin_auth_interface_adapter.h24 using namespace OHOS::HDI::PinAuth::V2_1;
25 using IPinAuthInterface = OHOS::HDI::PinAuth::V2_1::IPinAuthInterface;
/ohos5.0/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/pinauthexecutorstub_fuzzer/
H A Dpin_auth_executor_stub_fuzzer.cpp51 sptr<OHOS::HDI::PinAuth::V2_1::AllInOneExecutorStub> executorStub = in PinAuthExecutorStubFuzzTest()
52 new OHOS::HDI::PinAuth::V2_1::AllInOneExecutorStub(impl); in PinAuthExecutorStubFuzzTest()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v2_1/
H A Dmock_idevice.h28 namespace V2_1 {
45 sptr<OHOS::HDI::Nnrt::V2_1::IPreparedModel>&));
H A Dmock_idevice.cpp21 namespace V2_1 { namespace
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/service/src/
H A Dpin_auth_interface_driver.cpp106 auto serviceImpl = OHOS::HDI::PinAuth::V2_1::IPinAuthInterface::Get(true); in HdfPinAuthInterfaceDriverBind()
114 serviceImpl, OHOS::HDI::PinAuth::V2_1::IPinAuthInterface::GetDescriptor()); in HdfPinAuthInterfaceDriverBind()
/ohos5.0/base/useriam/pin_auth/test/fuzztest/mocks/inc/
H A Dmock_pin_auth_interface_adapter_fuzzer.h26 using namespace OHOS::HDI::PinAuth::V2_1;
H A Dmock_iverifier_executor_fuzzer.h25 using namespace OHOS::HDI::PinAuth::V2_1;
H A Dmock_icollector_executor_fuzzer.h25 using namespace OHOS::HDI::PinAuth::V2_1;
H A Dmock_iall_in_one_executor_fuzzer.h26 using namespace OHOS::HDI::PinAuth::V2_1;
/ohos5.0/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/pinauthinterfacestub_fuzzer/
H A Dpin_auth_interface_stub_fuzzer.cpp44 OHOS::HDI::PinAuth::V2_1::PinAuthInterfaceStub pinAuthInterfaceStub(pinAuthInterface); in PinAuthInterfaceStubFuzzTest()