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

Function Init

tensorflow/lite/kernels/unidirectional_sequence_lstm.cc:103–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101};
102
103void* Init(TfLiteContext* context, const char* buffer, size_t length) {
104 auto* op_data = new OpData();
105 context->AddTensors(context, kNumTemporaryTensors,
106 &op_data->scratch_tensor_index);
107 return op_data;
108}
109
110void Free(TfLiteContext* context, void* buffer) {
111 delete reinterpret_cast<OpData*>(buffer);

Callers

nothing calls this directly

Calls 1

AddTensorsMethod · 0.45

Tested by

no test coverage detected