Home
last modified time | relevance | path

Searched refs:Nnrt (Results 1 – 25 of 113) sorted by relevance

12345

/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v2_0/cpp_target/nnrt/v2_0/
H A Dnode_attr_types.h.txt51 namespace Nnrt {
79 OHOS::HDI::Nnrt::V2_0::PadMode padMode;
80 OHOS::HDI::Nnrt::V2_0::RoundMode roundMode;
81 OHOS::HDI::Nnrt::V2_0::Format format;
105 OHOS::HDI::Nnrt::V2_0::PadMode padMode;
117 OHOS::HDI::Nnrt::V2_0::PadMode padMode;
131 OHOS::HDI::Nnrt::V2_0::EltwiseMode mode;
177 OHOS::HDI::Nnrt::V2_0::PadMode padMode;
178 OHOS::HDI::Nnrt::V2_0::Format format;
214 OHOS::HDI::Nnrt::V2_0::ReduceMode mode;
[all …]
H A Dnode_attr_types.cpp.txt23 namespace Nnrt {
81 …:HDI::Nnrt::V2_0::Activation *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V2_0::Activat…
102 …::HDI::Nnrt::V2_0::AddFusion *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V2_0::AddFusi…
295 …OS::HDI::Nnrt::V2_0::BiasAdd *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V2_0::BiasAdd…
316 … OHOS::HDI::Nnrt::V2_0::Cast *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V2_0::Cast*>(…
337 …HOS::HDI::Nnrt::V2_0::Concat *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V2_0::Concat*…
643 … OHOS::HDI::Nnrt::V2_0::Fill *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V2_0::Fill*>(…
1144 …OHOS::HDI::Nnrt::V2_0::Rsqrt *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V2_0::Rsqrt*>…
1186 …OHOS::HDI::Nnrt::V2_0::Shape *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V2_0::Shape*>…
1328 … OHOS::HDI::Nnrt::V2_0::Sqrt *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V2_0::Sqrt*>(…
[all …]
H A Dnnrt_device_proxy.h.txt25 namespace Nnrt {
28 class NnrtDeviceProxy : public IProxyBroker<OHOS::HDI::Nnrt::V2_0::INnrtDevice> {
50 wptr<OHOS::HDI::Nnrt::V2_0::NnrtDeviceProxy> proxy_;
88 …int32_t PrepareModel(const OHOS::HDI::Nnrt::V2_0::Model& model, const OHOS::HDI::Nnrt::V2_0::Model…
94 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
97 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
124 static int32_t PrepareModel_(const OHOS::HDI::Nnrt::V2_0::Model& model,
125 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
130 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
133 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
[all …]
H A Dnnrt_device_stub.cpp.txt28 namespace Nnrt {
51 sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice> OHOS::HDI::Nnrt::V2_0::INnrtDevice::Get(bool isStub)
56 sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice> OHOS::HDI::Nnrt::V2_0::INnrtDevice::Get(const std::string&…
71 OHOS::HDI::Nnrt::V2_0::NnrtDeviceStub::NnrtDeviceStub(const sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice…
322 OHOS::HDI::Nnrt::V2_0::DeviceStatus status;
355 OHOS::HDI::Nnrt::V2_0::Model model;
516 OHOS::HDI::Nnrt::V2_0::Model model;
522 OHOS::HDI::Nnrt::V2_0::ModelConfig config;
608 OHOS::HDI::Nnrt::V2_0::ModelConfig config;
666 OHOS::HDI::Nnrt::V2_0::ModelConfig config;
[all …]
H A Dnnrt_device_proxy.cpp.txt31 namespace Nnrt {
37 sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice> OHOS::HDI::Nnrt::V2_0::INnrtDevice::Get(bool isStub)
67 …sptr<OHOS::HDI::Nnrt::V2_0::NnrtDeviceProxy> proxy = new OHOS::HDI::Nnrt::V2_0::NnrtDeviceProxy(re…
156 int32_t OHOS::HDI::Nnrt::V2_0::NnrtDeviceProxy::GetDeviceType(OHOS::HDI::Nnrt::V2_0::DeviceType& de…
161 int32_t OHOS::HDI::Nnrt::V2_0::NnrtDeviceProxy::GetDeviceStatus(OHOS::HDI::Nnrt::V2_0::DeviceStatus…
192 int32_t OHOS::HDI::Nnrt::V2_0::NnrtDeviceProxy::PrepareModel(const OHOS::HDI::Nnrt::V2_0::Model& mo…
208Nnrt::V2_0::NnrtDeviceProxy::PrepareOfflineModel(const std::vector<OHOS::HDI::Nnrt::V2_0::SharedBu…
303 int32_t OHOS::HDI::Nnrt::V2_0::NnrtDeviceProxy::GetDeviceType_(OHOS::HDI::Nnrt::V2_0::DeviceType& d…
338 int32_t OHOS::HDI::Nnrt::V2_0::NnrtDeviceProxy::GetDeviceStatus_(OHOS::HDI::Nnrt::V2_0::DeviceStatu…
551 int32_t OHOS::HDI::Nnrt::V2_0::NnrtDeviceProxy::PrepareModel_(const OHOS::HDI::Nnrt::V2_0::Model& m…
[all …]
H A Dnnrt_device_service.h.txt23 namespace Nnrt {
25 class NnrtDeviceService : public OHOS::HDI::Nnrt::V2_0::INnrtDevice {
34 int32_t GetDeviceType(OHOS::HDI::Nnrt::V2_0::DeviceType& deviceType) override;
36 int32_t GetDeviceStatus(OHOS::HDI::Nnrt::V2_0::DeviceStatus& status) override;
48 …int32_t PrepareModel(const OHOS::HDI::Nnrt::V2_0::Model& model, const OHOS::HDI::Nnrt::V2_0::Model…
49 sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& preparedModel) override;
54 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
57 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
59 int32_t AllocateBuffer(uint32_t length, OHOS::HDI::Nnrt::V2_0::SharedBuffer& buffer) override;
61 int32_t ReleaseBuffer(const OHOS::HDI::Nnrt::V2_0::SharedBuffer& buffer) override;
[all …]
H A Dmodel_types.h.txt52 namespace Nnrt {
59 OHOS::HDI::Nnrt::V2_0::DataType dataType;
61 OHOS::HDI::Nnrt::V2_0::Format format;
62 OHOS::HDI::Nnrt::V2_0::SharedBuffer data;
63 std::vector<OHOS::HDI::Nnrt::V2_0::QuantParam> quantParams;
68 OHOS::HDI::Nnrt::V2_0::NodeType nodeType;
72 OHOS::HDI::Nnrt::V2_0::QuantType quantType;
86 std::vector<OHOS::HDI::Nnrt::V2_0::Node> nodes;
87 std::vector<OHOS::HDI::Nnrt::V2_0::Tensor> allTensors;
88 std::vector<OHOS::HDI::Nnrt::V2_0::SubGraph> subGraph;
[all …]
H A Dnnrt_device_service.cpp.txt23 namespace Nnrt {
40 int32_t NnrtDeviceService::GetDeviceType(OHOS::HDI::Nnrt::V2_0::DeviceType& deviceType)
45 int32_t NnrtDeviceService::GetDeviceStatus(OHOS::HDI::Nnrt::V2_0::DeviceStatus& status)
50 int32_t NnrtDeviceService::GetSupportedOperation(const OHOS::HDI::Nnrt::V2_0::Model& model, std::ve…
75 int32_t NnrtDeviceService::PrepareModel(const OHOS::HDI::Nnrt::V2_0::Model& model,
76 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
86 …td::vector<OHOS::HDI::Nnrt::V2_0::SharedBuffer>& modelCache, const OHOS::HDI::Nnrt::V2_0::ModelCon…
92 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
97 int32_t NnrtDeviceService::AllocateBuffer(uint32_t length, OHOS::HDI::Nnrt::V2_0::SharedBuffer& buf…
102 int32_t NnrtDeviceService::ReleaseBuffer(const OHOS::HDI::Nnrt::V2_0::SharedBuffer& buffer)
[all …]
H A Dprepared_model_stub.cpp.txt24 namespace Nnrt {
48 OHOS::HDI::Nnrt::V2_0::PreparedModelStub::PreparedModelStub(const sptr<OHOS::HDI::Nnrt::V2_0::IPrep…
49 : IPCObjectStub(OHOS::HDI::Nnrt::V2_0::IPreparedModel::GetDescriptor()), impl_(impl)
53 OHOS::HDI::Nnrt::V2_0::PreparedModelStub::~PreparedModelStub()
108 std::vector<OHOS::HDI::Nnrt::V2_0::SharedBuffer> modelCache;
135 if (!OHOS::HDI::Nnrt::V2_0::SharedBufferBlockMarshalling(preparedModelReply, it0)) {
226 std::vector<OHOS::HDI::Nnrt::V2_0::IOTensor> inputs;
237 OHOS::HDI::Nnrt::V2_0::IOTensor value0;
245 std::vector<OHOS::HDI::Nnrt::V2_0::IOTensor> outputs;
256 OHOS::HDI::Nnrt::V2_0::IOTensor value0;
[all …]
H A Dinnrt_device.h.txt51 namespace Nnrt {
81 static sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice> Get(bool isStub = false);
88 virtual int32_t GetDeviceType(OHOS::HDI::Nnrt::V2_0::DeviceType& deviceType) = 0;
90 virtual int32_t GetDeviceStatus(OHOS::HDI::Nnrt::V2_0::DeviceStatus& status) = 0;
102 virtual int32_t PrepareModel(const OHOS::HDI::Nnrt::V2_0::Model& model,
103 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
108 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
111 …const OHOS::HDI::Nnrt::V2_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel>& pre…
113 … virtual int32_t AllocateBuffer(uint32_t length, OHOS::HDI::Nnrt::V2_0::SharedBuffer& buffer) = 0;
115 virtual int32_t ReleaseBuffer(const OHOS::HDI::Nnrt::V2_0::SharedBuffer& buffer) = 0;
[all …]
H A Dnnrt_device_stub.h.txt28 namespace Nnrt {
39 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice>…
41 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice>…
43 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice>…
45 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice>…
57 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice>…
67 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice>…
69 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice>…
105 …static inline ObjectDelegator<OHOS::HDI::Nnrt::V2_0::NnrtDeviceStub, OHOS::HDI::Nnrt::V2_0::INnrtD…
106 sptr<OHOS::HDI::Nnrt::V2_0::INnrtDevice> impl_;
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/cpp_target/nnrt/v1_0/
H A Dnode_attr_types.h.txt51 namespace Nnrt {
79 OHOS::HDI::Nnrt::V1_0::PadMode padMode;
80 OHOS::HDI::Nnrt::V1_0::RoundMode roundMode;
81 OHOS::HDI::Nnrt::V1_0::Format format;
105 OHOS::HDI::Nnrt::V1_0::PadMode padMode;
117 OHOS::HDI::Nnrt::V1_0::PadMode padMode;
131 OHOS::HDI::Nnrt::V1_0::EltwiseMode mode;
177 OHOS::HDI::Nnrt::V1_0::PadMode padMode;
178 OHOS::HDI::Nnrt::V1_0::Format format;
213 OHOS::HDI::Nnrt::V1_0::ReduceMode mode;
[all …]
H A Dnode_attr_types.cpp.txt23 namespace Nnrt {
81 …:HDI::Nnrt::V1_0::Activation *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V1_0::Activat…
102 …::HDI::Nnrt::V1_0::AddFusion *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V1_0::AddFusi…
295 …OS::HDI::Nnrt::V1_0::BiasAdd *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V1_0::BiasAdd…
316 … OHOS::HDI::Nnrt::V1_0::Cast *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V1_0::Cast*>(…
337 …HOS::HDI::Nnrt::V1_0::Concat *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V1_0::Concat*…
643 … OHOS::HDI::Nnrt::V1_0::Fill *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V1_0::Fill*>(…
1130 …OHOS::HDI::Nnrt::V1_0::Rsqrt *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V1_0::Rsqrt*>…
1172 …OHOS::HDI::Nnrt::V1_0::Shape *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V1_0::Shape*>…
1314 … OHOS::HDI::Nnrt::V1_0::Sqrt *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Nnrt::V1_0::Sqrt*>(…
[all …]
H A Dnnrt_device_stub.cpp.txt28 namespace Nnrt {
51 sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice> OHOS::HDI::Nnrt::V1_0::INnrtDevice::Get(bool isStub)
56 sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice> OHOS::HDI::Nnrt::V1_0::INnrtDevice::Get(const std::string&…
71 OHOS::HDI::Nnrt::V1_0::NnrtDeviceStub::NnrtDeviceStub(const sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice…
315 OHOS::HDI::Nnrt::V1_0::DeviceStatus status;
348 OHOS::HDI::Nnrt::V1_0::Model model;
509 OHOS::HDI::Nnrt::V1_0::Model model;
515 OHOS::HDI::Nnrt::V1_0::ModelConfig config;
601 OHOS::HDI::Nnrt::V1_0::ModelConfig config;
646 OHOS::HDI::Nnrt::V1_0::SharedBuffer buffer;
[all …]
H A Dnnrt_device_proxy.h.txt25 namespace Nnrt {
28 class NnrtDeviceProxy : public IProxyBroker<OHOS::HDI::Nnrt::V1_0::INnrtDevice> {
50 wptr<OHOS::HDI::Nnrt::V1_0::NnrtDeviceProxy> proxy_;
74 int32_t GetDeviceType(OHOS::HDI::Nnrt::V1_0::DeviceType& deviceType) override;
88 …int32_t PrepareModel(const OHOS::HDI::Nnrt::V1_0::Model& model, const OHOS::HDI::Nnrt::V1_0::Model…
89 sptr<OHOS::HDI::Nnrt::V1_0::IPreparedModel>& preparedModel) override;
94 …const OHOS::HDI::Nnrt::V1_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V1_0::IPreparedModel>& pre…
121 static int32_t PrepareModel_(const OHOS::HDI::Nnrt::V1_0::Model& model,
122 …const OHOS::HDI::Nnrt::V1_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V1_0::IPreparedModel>& pre…
127 …const OHOS::HDI::Nnrt::V1_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V1_0::IPreparedModel>& pre…
[all …]
H A Dnnrt_device_proxy.cpp.txt31 namespace Nnrt {
37 sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice> OHOS::HDI::Nnrt::V1_0::INnrtDevice::Get(bool isStub)
67 …sptr<OHOS::HDI::Nnrt::V1_0::NnrtDeviceProxy> proxy = new OHOS::HDI::Nnrt::V1_0::NnrtDeviceProxy(re…
156 int32_t OHOS::HDI::Nnrt::V1_0::NnrtDeviceProxy::GetDeviceType(OHOS::HDI::Nnrt::V1_0::DeviceType& de…
161 int32_t OHOS::HDI::Nnrt::V1_0::NnrtDeviceProxy::GetDeviceStatus(OHOS::HDI::Nnrt::V1_0::DeviceStatus…
192 int32_t OHOS::HDI::Nnrt::V1_0::NnrtDeviceProxy::PrepareModel(const OHOS::HDI::Nnrt::V1_0::Model& mo…
203Nnrt::V1_0::NnrtDeviceProxy::PrepareModelFromModelCache(const std::vector<OHOS::HDI::Nnrt::V1_0::S…
298 int32_t OHOS::HDI::Nnrt::V1_0::NnrtDeviceProxy::GetDeviceType_(OHOS::HDI::Nnrt::V1_0::DeviceType& d…
333 int32_t OHOS::HDI::Nnrt::V1_0::NnrtDeviceProxy::GetDeviceStatus_(OHOS::HDI::Nnrt::V1_0::DeviceStatu…
546 int32_t OHOS::HDI::Nnrt::V1_0::NnrtDeviceProxy::PrepareModel_(const OHOS::HDI::Nnrt::V1_0::Model& m…
[all …]
H A Dmodel_types.h.txt52 namespace Nnrt {
59 OHOS::HDI::Nnrt::V1_0::DataType dataType;
61 OHOS::HDI::Nnrt::V1_0::Format format;
62 OHOS::HDI::Nnrt::V1_0::SharedBuffer data;
63 std::vector<OHOS::HDI::Nnrt::V1_0::QuantParam> quantParams;
68 OHOS::HDI::Nnrt::V1_0::NodeType nodeType;
72 OHOS::HDI::Nnrt::V1_0::QuantType quantType;
86 std::vector<OHOS::HDI::Nnrt::V1_0::Node> nodes;
87 std::vector<OHOS::HDI::Nnrt::V1_0::Tensor> allTensors;
88 std::vector<OHOS::HDI::Nnrt::V1_0::SubGraph> subGraph;
[all …]
H A Dnnrt_device_service.h.txt23 namespace Nnrt {
25 class NnrtDeviceService : public OHOS::HDI::Nnrt::V1_0::INnrtDevice {
34 int32_t GetDeviceType(OHOS::HDI::Nnrt::V1_0::DeviceType& deviceType) override;
36 int32_t GetDeviceStatus(OHOS::HDI::Nnrt::V1_0::DeviceStatus& status) override;
48 …int32_t PrepareModel(const OHOS::HDI::Nnrt::V1_0::Model& model, const OHOS::HDI::Nnrt::V1_0::Model…
49 sptr<OHOS::HDI::Nnrt::V1_0::IPreparedModel>& preparedModel) override;
53 …int32_t PrepareModelFromModelCache(const std::vector<OHOS::HDI::Nnrt::V1_0::SharedBuffer>& modelCa…
54 …const OHOS::HDI::Nnrt::V1_0::ModelConfig& config, sptr<OHOS::HDI::Nnrt::V1_0::IPreparedModel>& pre…
56 int32_t AllocateBuffer(uint32_t length, OHOS::HDI::Nnrt::V1_0::SharedBuffer& buffer) override;
58 int32_t ReleaseBuffer(const OHOS::HDI::Nnrt::V1_0::SharedBuffer& buffer) override;
[all …]
H A Dprepared_model_stub.cpp.txt24 namespace Nnrt {
48 OHOS::HDI::Nnrt::V1_0::PreparedModelStub::PreparedModelStub(const sptr<OHOS::HDI::Nnrt::V1_0::IPrep…
49 : IPCObjectStub(OHOS::HDI::Nnrt::V1_0::IPreparedModel::GetDescriptor()), impl_(impl)
53 OHOS::HDI::Nnrt::V1_0::PreparedModelStub::~PreparedModelStub()
101 std::vector<OHOS::HDI::Nnrt::V1_0::SharedBuffer> modelCache;
128 if (!OHOS::HDI::Nnrt::V1_0::SharedBufferBlockMarshalling(preparedModelReply, it0)) {
149 std::vector<OHOS::HDI::Nnrt::V1_0::IOTensor> inputs;
160 OHOS::HDI::Nnrt::V1_0::IOTensor value0;
168 std::vector<OHOS::HDI::Nnrt::V1_0::IOTensor> outputs;
179 OHOS::HDI::Nnrt::V1_0::IOTensor value0;
[all …]
H A Dnnrt_device_stub.h.txt28 namespace Nnrt {
39 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice>…
41 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice>…
43 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice>…
45 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice>…
57 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice>…
65 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice>…
67 …Parcel& nnrtDeviceReply, MessageOption& nnrtDeviceOption, sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice>…
101 …static inline ObjectDelegator<OHOS::HDI::Nnrt::V1_0::NnrtDeviceStub, OHOS::HDI::Nnrt::V1_0::INnrtD…
102 sptr<OHOS::HDI::Nnrt::V1_0::INnrtDevice> impl_;
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v1_0/
H A Dcompilation_mock_idevice.cpp28 if (HDI::Nnrt::V1_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_SUCCESS) { in IsModelCacheSupported()
35 if (HDI::Nnrt::V1_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_FAILED) { in IsModelCacheSupported()
59 if (HDI::Nnrt::V1_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_SUCCESS) { in GetSupportedOperation()
71 if (HDI::Nnrt::V1_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_FAILED) { in IsDynamicInputSupported()
89 if (HDI::Nnrt::V1_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_FAILED) { in IsPerformanceModeSupported()
95 if (HDI::Nnrt::V1_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_SUCCESS) { in IsPerformanceModeSupported()
113 if (HDI::Nnrt::V1_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_SUCCESS) { in IsPrioritySupported()
125 if (HDI::Nnrt::V1_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_SUCCESS) { in IsFloat16PrecisionSupported()
154 sptr<OHOS::HDI::Nnrt::V1_0::IPreparedModel> hdiPreparedModel = sptr<OHOS::HDI::Nnrt::V1_0 in PrepareModel()
172 if (HDI::Nnrt::V1_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_FAILED) { in ExportModelCache()
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v2_0/
H A Dcompilation_mock_idevice.cpp28 if (HDI::Nnrt::V2_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_SUCCESS) { in IsModelCacheSupported()
35 if (HDI::Nnrt::V2_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_FAILED) { in IsModelCacheSupported()
59 if (HDI::Nnrt::V2_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_SUCCESS) { in GetSupportedOperation()
71 if (HDI::Nnrt::V2_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_FAILED) { in IsDynamicInputSupported()
89 if (HDI::Nnrt::V2_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_FAILED) { in IsPerformanceModeSupported()
95 if (HDI::Nnrt::V2_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_SUCCESS) { in IsPerformanceModeSupported()
113 if (HDI::Nnrt::V2_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_SUCCESS) { in IsPrioritySupported()
125 if (HDI::Nnrt::V2_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_SUCCESS) { in IsFloat16PrecisionSupported()
154 sptr<OHOS::HDI::Nnrt::V2_0::IPreparedModel> hdiPreparedModel = sptr<OHOS::HDI::Nnrt::V2_0 in PrepareModel()
172 if (HDI::Nnrt::V2_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_FAILED) { in ExportModelCache()
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_manager/
H A Ddevice_manager_test.cpp73 OHOS::HDI::Nnrt::V1_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
87 OHOS::HDI::Nnrt::V1_0::SharedBuffer tensorBuffer {0, 0, 0, 0};
116 OHOS::HDI::Nnrt::V1_0::SharedBuffer tensorBuffer {-1, 1, 1, 1};
136 OHOS::HDI::Nnrt::V1_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
152 OHOS::HDI::Nnrt::V1_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
177 OHOS::HDI::Nnrt::V1_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
198 OHOS::HDI::Nnrt::V1_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
217 OHOS::HDI::Nnrt::V1_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
239 OHOS::HDI::Nnrt::V1_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
258 OHOS::HDI::Nnrt::V1_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
[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/inner_model/
H A Dinner_model_test.cpp930 OHOS::HDI::Nnrt::V2_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
944 OHOS::HDI::Nnrt::V2_0::SharedBuffer tensorBuffer {0, 0, 0, 0};
973 OHOS::HDI::Nnrt::V2_0::SharedBuffer tensorBuffer {-1, 1, 1, 1};
993 OHOS::HDI::Nnrt::V2_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1009 OHOS::HDI::Nnrt::V2_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1034 OHOS::HDI::Nnrt::V2_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1055 OHOS::HDI::Nnrt::V2_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1074 OHOS::HDI::Nnrt::V2_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1096 OHOS::HDI::Nnrt::V2_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
1115 OHOS::HDI::Nnrt::V2_0::SharedBuffer tensorBuffer {-1, 0, 0, 0};
[all …]

12345