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

Function Init

tensorflow/lite/kernels/bidirectional_sequence_rnn.cc:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68};
69
70void* 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
76void Free(TfLiteContext* context, void* buffer) {
77 delete reinterpret_cast<int*>(buffer);

Callers

nothing calls this directly

Calls 1

AddTensorsMethod · 0.45

Tested by

no test coverage detected