/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/ |
A D | quantize.cc | 29 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 30 return context->AllocatePersistentBuffer(context, in Init()
|
A D | softmax_common.cc | 88 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in SoftmaxInit() 89 return context->AllocatePersistentBuffer(context, sizeof(SoftmaxParams)); in SoftmaxInit() 105 void* raw_exp_lut = context->AllocatePersistentBuffer( in SoftmaxPrepare() 109 void* one_over_one_plus_x_lut = context->AllocatePersistentBuffer( in SoftmaxPrepare()
|
A D | kernel_runner.cc | 47 context_.AllocatePersistentBuffer = AllocatePersistentBuffer; in KernelRunner() 104 void* KernelRunner::AllocatePersistentBuffer(TfLiteContext* context, in AllocatePersistentBuffer() function in tflite::micro::KernelRunner
|
A D | concatenation.cc | 129 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 130 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 197 reinterpret_cast<float*>(context->AllocatePersistentBuffer( in Prepare() 201 reinterpret_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare()
|
A D | transpose_conv.cc | 114 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 115 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 142 static_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare() 145 static_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare()
|
A D | activations.cc | 133 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in ReluInit() 134 return context->AllocatePersistentBuffer(context, sizeof(ReluOpData)); in ReluInit() 196 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Relu6Init() 197 return context->AllocatePersistentBuffer(context, sizeof(Relu6OpData)); in Relu6Init()
|
A D | space_to_batch_nd.cc | 42 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 43 return context->AllocatePersistentBuffer(context, sizeof(SpaceToBatchParams)); in Init()
|
A D | hard_swish.cc | 38 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in HardSwishInit() 39 return context->AllocatePersistentBuffer(context, sizeof(HardSwishParams)); in HardSwishInit()
|
A D | dequantize.cc | 42 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 43 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init()
|
A D | l2norm.cc | 77 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 78 return context->AllocatePersistentBuffer(context, in Init()
|
A D | logistic.cc | 73 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in LogisticInit() 74 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in LogisticInit()
|
A D | circular_buffer.cc | 73 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 75 context->AllocatePersistentBuffer(context, sizeof(OpData))); in Init()
|
A D | elu.cc | 104 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in EluInit() 105 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in EluInit()
|
A D | leaky_relu.cc | 98 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in LeakyReluInit() 99 return context->AllocatePersistentBuffer(context, sizeof(LeakyReluOpData)); in LeakyReluInit()
|
A D | tanh.cc | 45 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in TanhInit() 46 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in TanhInit()
|
A D | kernel_runner.h | 53 static void* AllocatePersistentBuffer(TfLiteContext* context, size_t bytes);
|
A D | prelu.cc | 89 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in PreluInit() 90 return context->AllocatePersistentBuffer(context, sizeof(PreluParams)); in PreluInit()
|
A D | strided_slice.cc | 121 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 122 return context->AllocatePersistentBuffer(context, sizeof(StridedSliceParams)); in Init()
|
A D | kernel_util.cc | 64 context->AllocatePersistentBuffer(context, alloc_size)); in CreateWritableTensorDimsWithCopy()
|
A D | conv_common.cc | 151 static_cast<int32_t*>(context->AllocatePersistentBuffer( in ConvPrepare() 154 static_cast<int32_t*>(context->AllocatePersistentBuffer( in ConvPrepare()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/ |
A D | micro_interpreter.cc | 196 context_.AllocatePersistentBuffer = AllocatePersistentBuffer; in AllocateTensors() 209 context_.AllocatePersistentBuffer = nullptr; in AllocateTensors() 220 reinterpret_cast<TfLiteTensor**>(allocator_.AllocatePersistentBuffer( in AllocateTensors() 244 reinterpret_cast<TfLiteTensor**>(allocator_.AllocatePersistentBuffer( in AllocateTensors() 312 void* MicroInterpreter::AllocatePersistentBuffer(TfLiteContext* ctx, in AllocatePersistentBuffer() function in tflite::MicroInterpreter 315 ->allocator_.AllocatePersistentBuffer(bytes); in AllocatePersistentBuffer()
|
A D | recording_micro_allocator.cc | 108 void* RecordingMicroAllocator::AllocatePersistentBuffer(size_t bytes) { in AllocatePersistentBuffer() function in tflite::RecordingMicroAllocator 110 void* buffer = MicroAllocator::AllocatePersistentBuffer(bytes); in AllocatePersistentBuffer()
|
A D | recording_micro_allocator.h | 71 void* AllocatePersistentBuffer(size_t bytes) override;
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/cmsis_nn/ |
A D | conv.cc | 42 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 43 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 93 static_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare() 96 static_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare()
|
A D | depthwise_conv.cc | 43 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 44 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 95 reinterpret_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare() 98 reinterpret_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare()
|