| 68 | }; |
| 69 | |
| 70 | void* Init(TfLiteContext* context, const char* buffer, size_t length) { |
| 71 | auto* scratch_tensor_index = new int; |
| 72 | context->AddTensors(context, kNumTemporaryTensors, scratch_tensor_index); |
| 73 | return scratch_tensor_index; |
| 74 | } |
| 75 | |
| 76 | void Free(TfLiteContext* context, void* buffer) { |
| 77 | delete reinterpret_cast<int*>(buffer); |
nothing calls this directly
no test coverage detected