Home
last modified time | relevance | path

Searched refs:GetScratchBuffer (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/kernels/
Ddetection_postprocess.cc337 context->GetScratchBuffer(context, op_data->decoded_boxes_idx)); in DecodeCenterSizeBoxes()
422 context->GetScratchBuffer(context, op_data->decoded_boxes_idx)); in NonMaxSuppressionSingleClassHelper()
428 context->GetScratchBuffer(context, op_data->keep_indices_idx)); in NonMaxSuppressionSingleClassHelper()
430 context->GetScratchBuffer(context, op_data->keep_scores_idx)); in NonMaxSuppressionSingleClassHelper()
435 context->GetScratchBuffer(context, op_data->sorted_indices_idx)); in NonMaxSuppressionSingleClassHelper()
446 context->GetScratchBuffer(context, op_data->active_candidate_idx)); in NonMaxSuppressionSingleClassHelper()
513 context->GetScratchBuffer(context, op_data->score_buffer_idx)); in NonMaxSuppressionMultiClassRegularHelper()
515 context->GetScratchBuffer(context, op_data->buffer_idx)); in NonMaxSuppressionMultiClassRegularHelper()
517 reinterpret_cast<float*>(context->GetScratchBuffer( in NonMaxSuppressionMultiClassRegularHelper()
522 context->GetScratchBuffer(context, op_data->sorted_indices_idx)); in NonMaxSuppressionMultiClassRegularHelper()
[all …]
Dkernel_runner.cc49 context_.GetScratchBuffer = GetScratchBuffer; in KernelRunner()
140 void* KernelRunner::GetScratchBuffer(TfLiteContext* context, int buffer_index) { in GetScratchBuffer() function in tflite::micro::KernelRunner
Dsvdf_common.cc49 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalIntegerSvdfReference()
52 context->GetScratchBuffer(context, data.scratch_tensor_index)); in EvalIntegerSvdfReference()
54 context->GetScratchBuffer(context, data.scratch_output_tensor_index)); in EvalIntegerSvdfReference()
Dreduce.cc192 context->GetScratchBuffer(context, op_data->temp_buffer_idx)); in EvalMean()
203 context->GetScratchBuffer(context, op_data->temp_buffer_idx)); in EvalMean()
228 context->GetScratchBuffer(context, op_data->temp_buffer_idx)); in EvalMean()
240 context->GetScratchBuffer(context, op_data->temp_buffer_idx)); in EvalMean()
273 context->GetScratchBuffer(context, op_data->temp_buffer_idx)); in EvalMax()
275 context->GetScratchBuffer(context, op_data->resolved_axis_idx)); in EvalMax()
Dkernel_runner.h57 static void* GetScratchBuffer(TfLiteContext* context, int buffer_index);
Dsvdf.cc140 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalFloatSVDF()
143 context->GetScratchBuffer(context, scratch_tensor_index)); in EvalFloatSVDF()
Dtranspose_conv.cc234 context->GetScratchBuffer(context, data.scratch_buffer_index)); in Eval()
/external/tensorflow/tensorflow/lite/micro/kernels/ethos_u/
Dethosu.cc65 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in Eval()
76 context->GetScratchBuffer(context, data->base_addr_idx)); in Eval()
78 context->GetScratchBuffer(context, data->base_addr_size_idx)); in Eval()
/external/tensorflow/tensorflow/lite/micro/
Dmicro_interpreter.cc66 void* ContextHelper::GetScratchBuffer(TfLiteContext* ctx, int buffer_idx) { in GetScratchBuffer() function in tflite::internal::ContextHelper
201 context_.GetScratchBuffer = nullptr; in AllocateTensors()
245 context_.GetScratchBuffer = context_helper_.GetScratchBuffer; in AllocateTensors()
Dmicro_interpreter.h53 static void* GetScratchBuffer(TfLiteContext* ctx, int buffer_idx);
Dtest_helpers.cc658 TFLITE_DCHECK(context->GetScratchBuffer == nullptr); in Init()
700 context->GetScratchBuffer(context, data->sorting_buffer)); in Invoke()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dsvdf.cc156 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalFloatSVDF()
159 context->GetScratchBuffer(context, scratch_tensor_index)); in EvalFloatSVDF()
257 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalIntegerSVDF()
261 context->GetScratchBuffer(context, data.scratch_tensor_index)); in EvalIntegerSVDF()
265 context->GetScratchBuffer(context, data.scratch_output_tensor_index)); in EvalIntegerSVDF()
Dpooling.cc156 ctx.buf = context->GetScratchBuffer(context, data.buffer_idx); in AverageEvalQuantized()
246 ctx.buf = context->GetScratchBuffer(context, data.buffer_idx); in MaxEvalInt8()
Dfully_connected.cc157 ctx.buf = context->GetScratchBuffer(context, data.buffer_idx); in EvalQuantizedInt8()
Dconv.cc209 ctx.buf = context->GetScratchBuffer(context, data.buffer_idx); in EvalQuantizedPerChannel()
Ddepthwise_conv.cc315 ctx.buf = context->GetScratchBuffer(context, data->buffer_idx); in EvalQuantizedPerChannel()
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/
Dsvdf.cc70 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalIntegerSvdfHifimini()
73 context->GetScratchBuffer(context, data.scratch_tensor_index)); in EvalIntegerSvdfHifimini()
76 context->GetScratchBuffer(context, data.scratch_output_tensor_index)); in EvalIntegerSvdfHifimini()
265 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalIntegerSvdfHifi4()
Dsoftmax.cc225 context->GetScratchBuffer(context, op_data->scratch_tensor_index)); in EvalHifi4()
/external/tensorflow/tensorflow/lite/c/
Dcommon.h723 void* (*GetScratchBuffer)(struct TfLiteContext* ctx, int buffer_idx); member
/external/tensorflow/tensorflow/lite/kernels/
Dlstm_eval_test.cc652 TfLiteTensor* GetScratchBuffer() { in GetScratchBuffer() function in tflite::__anon39d466b60111::HybridLstmParam
934 /*output_offset=*/0, one_parameter.GetScratchBuffer(), in TestOneHybridAsymmLSTM()