Firmware resident model

Support referencing a network model by index that has been built into
the firmware binary.

Change-Id: Idd5294376ea82503dfeafe1203dcc0694d296dfe
diff --git a/driver_library/include/ethosu.hpp b/driver_library/include/ethosu.hpp
index 98e6969..0738aa2 100644
--- a/driver_library/include/ethosu.hpp
+++ b/driver_library/include/ethosu.hpp
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020-2021 Arm Limited. All rights reserved.
+ * Copyright (c) 2020-2022 Arm Limited. All rights reserved.
  *
  * SPDX-License-Identifier: Apache-2.0
  *
@@ -161,6 +161,7 @@
 class Network {
 public:
     Network(const Device &device, std::shared_ptr<Buffer> &buffer);
+    Network(const Device &device, const std::string &model, const unsigned index);
     virtual ~Network();
 
     int ioctl(unsigned long cmd, void *data = nullptr);
@@ -171,6 +172,8 @@
     size_t getOfmSize() const;
 
 private:
+    void parseModel(const char *data);
+
     int fd;
     std::shared_ptr<Buffer> buffer;
     std::vector<size_t> ifmDims;