/external/tensorflow/tensorflow/lite/micro/ |
D | micro_interpreter.cc | 53 void* ContextHelper::AllocatePersistentBuffer(TfLiteContext* ctx, in AllocatePersistentBuffer() function in tflite::internal::ContextHelper 56 ->allocator_->AllocatePersistentBuffer(bytes); in AllocatePersistentBuffer() 199 context_.AllocatePersistentBuffer = context_helper_.AllocatePersistentBuffer; in AllocateTensors() 243 context_.AllocatePersistentBuffer = nullptr; in AllocateTensors() 256 reinterpret_cast<TfLiteTensor**>(allocator_.AllocatePersistentBuffer( in AllocateTensors() 280 reinterpret_cast<TfLiteTensor**>(allocator_.AllocatePersistentBuffer( in AllocateTensors()
|
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()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | softmax_common.cc | 92 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in SoftmaxInit() 93 return context->AllocatePersistentBuffer(context, sizeof(SoftmaxParams)); in SoftmaxInit() 109 void* raw_exp_lut = context->AllocatePersistentBuffer( in SoftmaxPrepare() 113 void* one_over_one_plus_x_lut = context->AllocatePersistentBuffer( in SoftmaxPrepare()
|
D | kernel_runner.cc | 47 context_.AllocatePersistentBuffer = AllocatePersistentBuffer; in KernelRunner() 104 void* KernelRunner::AllocatePersistentBuffer(TfLiteContext* context, in AllocatePersistentBuffer() function in tflite::micro::KernelRunner
|
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()
|
D | quantize.cc | 29 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 30 return context->AllocatePersistentBuffer(context, in Init()
|
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()
|
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()
|
D | conv.cc | 33 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 34 return context->AllocatePersistentBuffer(context, sizeof(OpDataConv)); in Init()
|
D | circular_buffer.cc | 71 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 72 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init()
|
D | hard_swish.cc | 38 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in HardSwishInit() 39 return context->AllocatePersistentBuffer(context, sizeof(HardSwishParams)); in HardSwishInit()
|
D | space_to_batch_nd.cc | 42 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 43 return context->AllocatePersistentBuffer(context, sizeof(SpaceToBatchParams)); in Init()
|
D | logistic.cc | 73 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in LogisticInit() 74 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in LogisticInit()
|
D | l2norm.cc | 78 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 79 return context->AllocatePersistentBuffer(context, in Init()
|
D | depthwise_conv.cc | 102 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 103 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 132 reinterpret_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare() 135 reinterpret_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare()
|
D | tanh.cc | 45 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in TanhInit() 46 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in TanhInit()
|
D | fully_connected.cc | 32 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 33 return context->AllocatePersistentBuffer(context, in Init()
|
D | dequantize.cc | 42 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 43 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init()
|
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/ |
D | depthwise_conv.cc | 139 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 140 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 167 reinterpret_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare() 170 reinterpret_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare() 205 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 207 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 209 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 211 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 213 context->AllocatePersistentBuffer(context, sizeof(mli_conv2d_cfg))); in Prepare()
|
D | conv.cc | 149 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 150 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 175 reinterpret_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare() 178 reinterpret_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare() 213 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 215 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 217 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 219 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 221 context->AllocatePersistentBuffer(context, sizeof(mli_conv2d_cfg))); in Prepare()
|
D | fully_connected.cc | 104 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 105 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 134 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 136 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 138 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 140 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare()
|
D | pooling.cc | 82 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 83 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 113 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 115 context->AllocatePersistentBuffer(context, sizeof(mli_tensor))); in Prepare() 117 context->AllocatePersistentBuffer(context, sizeof(mli_pool_cfg))); in Prepare()
|
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/ |
D | quantize.cc | 174 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 176 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 178 return context->AllocatePersistentBuffer(context, in Init()
|
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/ |
D | conv.cc | 42 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 43 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init() 90 static_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare() 93 static_cast<int32_t*>(context->AllocatePersistentBuffer( in Prepare()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ethos_u/ |
D | ethosu.cc | 34 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 35 return context->AllocatePersistentBuffer(context, sizeof(OpData)); in Init()
|