Loading neuralnetworks/1.0/utils/include/nnapi/hal/1.0/Device.h +1 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,7 @@ class Device final : public nn::IDevice { const std::string& getVersionString() const override; nn::Version getFeatureLevel() const override; nn::DeviceType getType() const override; bool isUpdatable() const override; const std::vector<nn::Extension>& getSupportedExtensions() const override; const nn::Capabilities& getCapabilities() const override; std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override; Loading neuralnetworks/1.0/utils/src/Device.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -106,6 +106,10 @@ nn::DeviceType Device::getType() const { return nn::DeviceType::OTHER; } bool Device::isUpdatable() const { return false; } const std::vector<nn::Extension>& Device::getSupportedExtensions() const { return kExtensions; } Loading neuralnetworks/1.1/utils/include/nnapi/hal/1.1/Device.h +1 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,7 @@ class Device final : public nn::IDevice { const std::string& getVersionString() const override; nn::Version getFeatureLevel() const override; nn::DeviceType getType() const override; bool isUpdatable() const override; const std::vector<nn::Extension>& getSupportedExtensions() const override; const nn::Capabilities& getCapabilities() const override; std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override; Loading neuralnetworks/1.1/utils/src/Device.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -106,6 +106,10 @@ nn::DeviceType Device::getType() const { return nn::DeviceType::UNKNOWN; } bool Device::isUpdatable() const { return false; } const std::vector<nn::Extension>& Device::getSupportedExtensions() const { return kExtensions; } Loading neuralnetworks/1.2/utils/include/nnapi/hal/1.2/Device.h +1 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ class Device final : public nn::IDevice { const std::string& getVersionString() const override; nn::Version getFeatureLevel() const override; nn::DeviceType getType() const override; bool isUpdatable() const override; const std::vector<nn::Extension>& getSupportedExtensions() const override; const nn::Capabilities& getCapabilities() const override; std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override; Loading Loading
neuralnetworks/1.0/utils/include/nnapi/hal/1.0/Device.h +1 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,7 @@ class Device final : public nn::IDevice { const std::string& getVersionString() const override; nn::Version getFeatureLevel() const override; nn::DeviceType getType() const override; bool isUpdatable() const override; const std::vector<nn::Extension>& getSupportedExtensions() const override; const nn::Capabilities& getCapabilities() const override; std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override; Loading
neuralnetworks/1.0/utils/src/Device.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -106,6 +106,10 @@ nn::DeviceType Device::getType() const { return nn::DeviceType::OTHER; } bool Device::isUpdatable() const { return false; } const std::vector<nn::Extension>& Device::getSupportedExtensions() const { return kExtensions; } Loading
neuralnetworks/1.1/utils/include/nnapi/hal/1.1/Device.h +1 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,7 @@ class Device final : public nn::IDevice { const std::string& getVersionString() const override; nn::Version getFeatureLevel() const override; nn::DeviceType getType() const override; bool isUpdatable() const override; const std::vector<nn::Extension>& getSupportedExtensions() const override; const nn::Capabilities& getCapabilities() const override; std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override; Loading
neuralnetworks/1.1/utils/src/Device.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -106,6 +106,10 @@ nn::DeviceType Device::getType() const { return nn::DeviceType::UNKNOWN; } bool Device::isUpdatable() const { return false; } const std::vector<nn::Extension>& Device::getSupportedExtensions() const { return kExtensions; } Loading
neuralnetworks/1.2/utils/include/nnapi/hal/1.2/Device.h +1 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ class Device final : public nn::IDevice { const std::string& getVersionString() const override; nn::Version getFeatureLevel() const override; nn::DeviceType getType() const override; bool isUpdatable() const override; const std::vector<nn::Extension>& getSupportedExtensions() const override; const nn::Capabilities& getCapabilities() const override; std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override; Loading