/external/tensorflow/tensorflow/lite/kernels/ |
D | cpu_backend_gemm_params.h | 173 TFLITE_DCHECK(!params.multiplier_fixedpoint); in ValidateGemmParams() 174 TFLITE_DCHECK(!params.multiplier_exponent); in ValidateGemmParams() 175 TFLITE_DCHECK(!params.multiplier_fixedpoint_perchannel); in ValidateGemmParams() 176 TFLITE_DCHECK(!params.multiplier_exponent_perchannel); in ValidateGemmParams() 180 TFLITE_DCHECK(params.multiplier_fixedpoint); in ValidateGemmParams() 182 TFLITE_DCHECK(!params.multiplier_fixedpoint_perchannel); in ValidateGemmParams() 183 TFLITE_DCHECK(!params.multiplier_exponent_perchannel); in ValidateGemmParams() 187 TFLITE_DCHECK(!params.multiplier_fixedpoint); in ValidateGemmParams() 188 TFLITE_DCHECK(!params.multiplier_exponent); in ValidateGemmParams() 189 TFLITE_DCHECK(params.multiplier_fixedpoint_perchannel); in ValidateGemmParams() [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | kernel_runner.cc | 78 TFLITE_DCHECK(context != nullptr); in GetTensor() 80 TFLITE_DCHECK(runner != nullptr); in GetTensor() 87 TFLITE_DCHECK(context != nullptr); in GetEvalTensor() 89 TFLITE_DCHECK(runner != nullptr); in GetEvalTensor() 94 TFLITE_DCHECK(eval_tensor != nullptr); in GetEvalTensor() 106 TFLITE_DCHECK(context != nullptr); in AllocatePersistentBuffer() 108 TFLITE_DCHECK(runner != nullptr); in AllocatePersistentBuffer() 116 TFLITE_DCHECK(context != nullptr); in RequestScratchBufferInArena() 117 TFLITE_DCHECK(buffer_index != nullptr); in RequestScratchBufferInArena() 120 TFLITE_DCHECK(runner != nullptr); in RequestScratchBufferInArena() [all …]
|
D | kernel_util.h | 34 TFLITE_DCHECK(context != nullptr); in GetMutableEvalInput() 35 TFLITE_DCHECK(node != nullptr); in GetMutableEvalInput() 48 TFLITE_DCHECK(context != nullptr); in GetEvalOutput() 49 TFLITE_DCHECK(node != nullptr); in GetEvalOutput() 62 TFLITE_DCHECK(tensor != nullptr); in GetTensorData()
|
D | concatenation.cc | 56 TFLITE_DCHECK(context != nullptr); in GetAllInputTensorShapes() 57 TFLITE_DCHECK(node != nullptr); in GetAllInputTensorShapes() 78 TFLITE_DCHECK(context != nullptr); in GetAllInputTensorData() 79 TFLITE_DCHECK(node != nullptr); in GetAllInputTensorData() 99 TFLITE_DCHECK(node->user_data != nullptr); in EvalUnquantized() 119 TFLITE_DCHECK(node->user_data != nullptr); in EvalQuantizedUInt8() 129 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 177 TFLITE_DCHECK(node->user_data != nullptr); in Prepare()
|
D | fully_connected.cc | 32 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 38 TFLITE_DCHECK(node->user_data != nullptr); in Prepare() 39 TFLITE_DCHECK(node->builtin_data != nullptr); in Prepare() 65 TFLITE_DCHECK(node->builtin_data != nullptr); in Eval() 78 TFLITE_DCHECK(node->user_data != nullptr); in Eval()
|
D | pooling.cc | 83 TFLITE_DCHECK(input->type == kTfLiteUInt8 || input->type == kTfLiteInt8); in AverageEvalQuantized() 156 TFLITE_DCHECK(node->builtin_data != nullptr); in AverageEval() 159 TFLITE_DCHECK(node->user_data != nullptr); in AverageEval() 185 TFLITE_DCHECK(node->builtin_data != nullptr); in MaxEval() 188 TFLITE_DCHECK(node->user_data != nullptr); in MaxEval() 213 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 218 TFLITE_DCHECK(node->builtin_data != nullptr); in Prepare() 221 TFLITE_DCHECK(node->user_data != nullptr); in Prepare()
|
D | l2norm.cc | 42 TFLITE_DCHECK(node->user_data != nullptr); in Prepare() 43 TFLITE_DCHECK(node->builtin_data != nullptr); in Prepare() 78 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 84 TFLITE_DCHECK(node->user_data != nullptr); in Eval()
|
D | svdf.cc | 139 TFLITE_DCHECK(context != nullptr); in EvalFloatSVDF() 140 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalFloatSVDF() 191 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 196 TFLITE_DCHECK(node->builtin_data != nullptr); in Prepare() 267 TFLITE_DCHECK(node->user_data != nullptr); in Prepare() 302 TFLITE_DCHECK(context->RequestScratchBufferInArena != nullptr); in Prepare() 323 TFLITE_DCHECK(context->RequestScratchBufferInArena != nullptr); in Prepare() 335 TFLITE_DCHECK(node->user_data != nullptr); in Eval()
|
D | conv_common.cc | 127 TFLITE_DCHECK(node->user_data != nullptr); in ConvPrepare() 128 TFLITE_DCHECK(node->builtin_data != nullptr); in ConvPrepare() 164 TFLITE_DCHECK(affine_quantization != nullptr); in ConvPrepare() 165 TFLITE_DCHECK(affine_quantization->scale != nullptr); in ConvPrepare() 166 TFLITE_DCHECK(affine_quantization->zero_point != nullptr); in ConvPrepare()
|
D | transpose_conv.cc | 114 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 119 TFLITE_DCHECK(node->user_data != nullptr); in Prepare() 120 TFLITE_DCHECK(node->builtin_data != nullptr); in Prepare() 150 TFLITE_DCHECK(context->RequestScratchBufferInArena != nullptr); in Prepare() 151 TFLITE_DCHECK(context->RequestScratchBufferInArena( in Prepare() 211 TFLITE_DCHECK(node->user_data != nullptr); in Eval()
|
D | activations.cc | 133 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in ReluInit() 138 TFLITE_DCHECK(node->user_data != nullptr); in ReluPrepare() 156 TFLITE_DCHECK(node->user_data != nullptr); in ReluEval() 196 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Relu6Init() 201 TFLITE_DCHECK(node->user_data != nullptr); in Relu6Prepare() 221 TFLITE_DCHECK(node->user_data != nullptr); in Relu6Eval()
|
D | kernel_util.cc | 25 TFLITE_DCHECK(input1 != nullptr); in HaveSameShapes() 26 TFLITE_DCHECK(input2 != nullptr); in HaveSameShapes()
|
D | mul.cc | 177 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 182 TFLITE_DCHECK(node->builtin_data != nullptr); in Prepare() 185 TFLITE_DCHECK(node->user_data != nullptr); in Prepare() 192 TFLITE_DCHECK(node->builtin_data != nullptr); in Eval() 195 TFLITE_DCHECK(node->user_data != nullptr); in Eval()
|
D | conv.cc | 33 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 49 TFLITE_DCHECK(node->builtin_data != nullptr); in Eval() 52 TFLITE_DCHECK(node->user_data != nullptr); in Eval()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ethos_u/ |
D | ethosu.cc | 34 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 41 TFLITE_DCHECK(context != nullptr); in Prepare() 43 TFLITE_DCHECK(node->user_data != nullptr); in Prepare() 63 TFLITE_DCHECK(node->user_data != nullptr); in Eval() 64 TFLITE_DCHECK(context != nullptr); in Eval() 65 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in Eval()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | types.h | 352 TFLITE_DCHECK(dims != nullptr); in NextIndex() 353 TFLITE_DCHECK(current != nullptr); in NextIndex() 381 TFLITE_DCHECK(dims != nullptr); in ReducedOutputOffset() 382 TFLITE_DCHECK(index != nullptr); in ReducedOutputOffset() 406 TFLITE_DCHECK(i0 >= 0 && i0 < dims_data[0]); in Offset() 407 TFLITE_DCHECK(i1 >= 0 && i1 < dims_data[1]); in Offset() 408 TFLITE_DCHECK(i2 >= 0 && i2 < dims_data[2]); in Offset() 409 TFLITE_DCHECK(i3 >= 0 && i3 < dims_data[3]); in Offset() 417 TFLITE_DCHECK(i0 >= 0 && i0 < dims_data[0]); in Offset() 418 TFLITE_DCHECK(i1 >= 0 && i1 < dims_data[1]); in Offset() [all …]
|
/external/tensorflow/tensorflow/lite/micro/ |
D | micro_allocator.cc | 193 TFLITE_DCHECK(eval_tensors != nullptr); in AddTensors() 392 TFLITE_DCHECK(error_reporter != nullptr); in FlatBufferVectorToTfLiteTypeArray() 393 TFLITE_DCHECK(flatbuffer_array != nullptr); in FlatBufferVectorToTfLiteTypeArray() 464 TFLITE_DCHECK(result != nullptr); in InitializeTfLiteTensorFromFlatbuffer() 617 TFLITE_DCHECK(memory_allocator != nullptr); in Create() 618 TFLITE_DCHECK(error_reporter != nullptr); in Create() 631 TFLITE_DCHECK(model != nullptr); in StartModelAllocation() 663 TFLITE_DCHECK(subgraph != nullptr); in FinishModelAllocation() 755 TFLITE_DCHECK(node_and_registrations); in AllocateNodeAndRegistrations() 758 TFLITE_DCHECK(subgraph != nullptr); in AllocateNodeAndRegistrations() [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/ |
D | svdf.cc | 155 TFLITE_DCHECK(context != nullptr); in EvalFloatSVDF() 156 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalFloatSVDF() 256 TFLITE_DCHECK(context != nullptr); in EvalIntegerSVDF() 257 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalIntegerSVDF() 282 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 287 TFLITE_DCHECK(node->builtin_data != nullptr); in Prepare() 353 TFLITE_DCHECK(node->user_data != nullptr); in Prepare() 388 TFLITE_DCHECK(context->RequestScratchBufferInArena != nullptr); in Prepare() 409 TFLITE_DCHECK(context->RequestScratchBufferInArena != nullptr); in Prepare() 421 TFLITE_DCHECK(node->user_data != nullptr); in Eval()
|
D | fully_connected.cc | 45 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 50 TFLITE_DCHECK(node->user_data != nullptr); in Prepare() 51 TFLITE_DCHECK(node->builtin_data != nullptr); in Prepare() 185 TFLITE_DCHECK(node->builtin_data != nullptr); in Eval() 198 TFLITE_DCHECK(node->user_data != nullptr); in Eval() 258 TFLITE_DCHECK(node->user_data != nullptr); in EvalInt8()
|
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/ |
D | svdf.cc | 69 TFLITE_DCHECK(context != nullptr); in EvalIntegerSvdfHifimini() 70 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalIntegerSvdfHifimini() 74 TFLITE_DCHECK(scratch_tensor != nullptr); in EvalIntegerSvdfHifimini() 77 TFLITE_DCHECK(scratch_output_tensor != nullptr); in EvalIntegerSvdfHifimini() 264 TFLITE_DCHECK(context != nullptr); in EvalIntegerSvdfHifi4() 265 TFLITE_DCHECK(context->GetScratchBuffer != nullptr); in EvalIntegerSvdfHifi4() 318 TFLITE_DCHECK(context != nullptr); in Init() 323 TFLITE_DCHECK(node->builtin_data != nullptr); in Prepare() 419 TFLITE_DCHECK(node->user_data != nullptr); in Prepare() 468 TFLITE_DCHECK(node->user_data != nullptr); in Eval()
|
D | fully_connected.cc | 145 TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); in Init() 151 TFLITE_DCHECK(node->user_data != nullptr); in Prepare() 152 TFLITE_DCHECK(node->builtin_data != nullptr); in Prepare() 174 TFLITE_DCHECK(filter->params.zero_point == 0); in Prepare() 176 TFLITE_DCHECK(GetTensorShape(output).DimensionsCount() == 2); in Prepare() 251 TFLITE_DCHECK(node->user_data != nullptr); in Eval()
|
/external/tensorflow/tensorflow/lite/schema/ |
D | schema_utils.cc | 47 TFLITE_DCHECK(op_code != nullptr); in GetBuiltinCode() 56 TFLITE_DCHECK(op_code != nullptr); in GetBuiltinCode()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ceva/ |
D | types.h | 515 TFLITE_DCHECK(dims != nullptr); 516 TFLITE_DCHECK(current != nullptr); 544 TFLITE_DCHECK(dims != nullptr); 545 TFLITE_DCHECK(index != nullptr); 569 TFLITE_DCHECK(i0 >= 0 && i0 < dims_data[0]); 570 TFLITE_DCHECK(i1 >= 0 && i1 < dims_data[1]); 571 TFLITE_DCHECK(i2 >= 0 && i2 < dims_data[2]); 572 TFLITE_DCHECK(i3 >= 0 && i3 < dims_data[3]); 577 TFLITE_DCHECK(i0 >= 0 && i0 < dims.sizes[0]); 578 TFLITE_DCHECK(i1 >= 0 && i1 < dims.sizes[1]); [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/ |
D | depthwise_conv_hybrid_3x3_filter.h | 2832 TFLITE_DCHECK( 2835 TFLITE_DCHECK( 3082 TFLITE_DCHECK(params.output_depth == params.input_depth * depth_multiplier); 3083 TFLITE_DCHECK(depth_multiplier == 1); 3084 TFLITE_DCHECK(filter_height == 3); 3085 TFLITE_DCHECK(filter_width == 3); 3086 TFLITE_DCHECK(stride_height == 1 || stride_height == 2); 3087 TFLITE_DCHECK(stride_width == 1 || stride_width == 2); 3088 TFLITE_DCHECK(stride_width == stride_height); 3089 TFLITE_DCHECK(pad_height == 0 || pad_height == 1); [all …]
|
D | depthwise_conv_3x3_filter.h | 2665 TFLITE_DCHECK( 2668 TFLITE_DCHECK( 2921 TFLITE_DCHECK(params.output_depth == params.input_depth * depth_multiplier); 2922 TFLITE_DCHECK(depth_multiplier == 1); 2923 TFLITE_DCHECK(filter_height == 3); 2924 TFLITE_DCHECK(filter_width == 3); 2925 TFLITE_DCHECK(stride_height == 1 || stride_height == 2); 2926 TFLITE_DCHECK(stride_width == 1 || stride_width == 2); 2927 TFLITE_DCHECK(stride_width == stride_height); 2928 TFLITE_DCHECK(pad_height == 0 || pad_height == 1); [all …]
|