MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Init

Function Init

tensorflow/lite/kernels/bidirectional_sequence_lstm.cc:150–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148};
149
150void* Init(TfLiteContext* context, const char* buffer, size_t length) {
151 auto* scratch_tensor_index = new int;
152 context->AddTensors(context, kNumTemporaryTensors, scratch_tensor_index);
153 return scratch_tensor_index;
154}
155
156void Free(TfLiteContext* context, void* buffer) {
157 delete reinterpret_cast<int*>(buffer);

Callers

nothing calls this directly

Calls 1

AddTensorsMethod · 0.45

Tested by

no test coverage detected