There is no easy way to pass a parameter into the TfLiteDelegate's 'prepare' function, so we keep a global map for testing purpused. To avoid collisions use: GetPrepareFunction<__LINE__>().
| 41 | // 'prepare' function, so we keep a global map for testing purpused. |
| 42 | // To avoid collisions use: GetPrepareFunction<__LINE__>(). |
| 43 | std::map<int, std::vector<int>>* GetGlobalOpLists() { |
| 44 | static auto* op_list = new std::map<int, std::vector<int>>; |
| 45 | return op_list; |
| 46 | } |
| 47 | |
| 48 | class KernelTest : public testing::FlexModelTest { |
| 49 | public: |
no outgoing calls
no test coverage detected