Home
last modified time | relevance | path

Searched refs:kTfLiteMmapRo (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2exec/
Dtfl_while_op.mlir12 // CHECK: Tensor 0 pconst kTfLiteInt32 kTfLiteMmapRo 4 bytes
13 // CHECK-NEXT: Tensor 1 N kTfLiteInt32 kTfLiteMmapRo 4 bytes
14 // CHECK-NEXT: Tensor 2 val kTfLiteFloat32 kTfLiteMmapRo 4 bytes
/external/tensorflow/tensorflow/lite/delegates/hexagon/
Dhexagon_delegate_kernel.cc104 if (tensor->allocation_type != kTfLiteMmapRo) { in Eval()
129 if (tensor->allocation_type != kTfLiteMmapRo) { in Eval()
223 if (tensor->allocation_type != kTfLiteMmapRo && tensor->dims->size > 4) { in Prepare()
266 if (input_tensor.allocation_type == kTfLiteMmapRo) { in BuildGraph()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dpad_test.cc109 tensors[1].allocation_type = kTfLiteMmapRo; in TestPadFloat()
137 tensors[1].allocation_type = kTfLiteMmapRo; in TestPadV2Float()
167 tensors[1].allocation_type = kTfLiteMmapRo; in TestPadQuantized()
208 tensors[1].allocation_type = kTfLiteMmapRo; in TestPadV2Quantized()
Dsplit_test.cc50 tensors[0].allocation_type = kTfLiteMmapRo; in TestSplitTwoOutputsFloat()
114 tensors[0].allocation_type = kTfLiteMmapRo; in TestSplitFourOutputsFloat()
179 tensors[0].allocation_type = kTfLiteMmapRo; in TestSplitTwoOutputsQuantized()
234 tensors[0].allocation_type = kTfLiteMmapRo; in TestSplitTwoOutputsQuantized32()
Dsplit_v_test.cc74 tensors[2].allocation_type = kTfLiteMmapRo; in TestSplitVFloat()
75 tensors[1].allocation_type = kTfLiteMmapRo; in TestSplitVFloat()
Dresize_nearest_neighbor_test.cc66 tensors[1].allocation_type = kTfLiteMmapRo; in TestResizeNearestNeighbor()
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
DREADME.md174 * Both filter and bias must be static (use `kTfLiteMmapRo` allocation type).
187 * Both filter and bias must be static (use `kTfLiteMmapRo` allocation type).
205 * Both filter and bias must be static (use `kTfLiteMmapRo` allocation type).
241 (use `kTfLiteMmapRo` allocation type).
264 (use `kTfLiteMmapRo` allocation type).
270 * Slope must be static (use `kTfLiteMmapRo` allocation type).
290 static (use `kTfLiteMmapRo` allocation type), or absent (with the new shape
298 static (use `kTfLiteMmapRo` allocation type).
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dmin_max_builder_test.cc50 input1_tensor->allocation_type = kTfLiteMmapRo; in MinMaxOpModel()
53 input2_tensor->allocation_type = kTfLiteMmapRo; in MinMaxOpModel()
Dmatmul_test.cc63 weights_tensor->allocation_type = kTfLiteMmapRo; in FullyConnectedOpModel()
67 bias_tensor->allocation_type = kTfLiteMmapRo; in FullyConnectedOpModel()
Dtranspose_conv_test.cc94 bias_tensor->allocation_type = kTfLiteMmapRo; in SetBias()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/
Dtranspose_conv_2d_builder.cc50 if (weights_tensor.allocation_type != kTfLiteMmapRo) { in PopulateSubGraph()
142 if (bias_tensor.allocation_type != kTfLiteMmapRo) { in PopulateSubGraph()
Dpad_builder.cc42 if (padding_tensor.allocation_type == kTfLiteMmapRo) { in PopulateSubGraph()
Dresize_nearest_neighbor_builder.cc39 if (output_dim_tensor.allocation_type == kTfLiteMmapRo) { in PopulateSubGraph()
Darg_min_max_builder.cc41 if (axis.allocation_type != kTfLiteMmapRo) { in PopulateSubGraph()
Dsplit_builder.cc37 if (axis.allocation_type != kTfLiteMmapRo) { in PopulateSubGraph()
Dreshape_builder.cc68 if (shape_tensor->allocation_type != kTfLiteMmapRo && is_shape_tensor) { in PopulateSubGraph()
Dreduce_builder.cc41 if (axes_tensor.allocation_type == kTfLiteMmapRo) { in PopulateSubGraph()
Dop_builder.cc100 if (weights_tensor.allocation_type == kTfLiteMmapRo) in CreateOpBuilderFromTfLiteOp()
281 if (tensor.allocation_type == kTfLiteMmapRo) continue; in AddInputTensors()
/external/tensorflow/tensorflow/lite/
Doptional_debug_tools.cc90 case kTfLiteMmapRo: in AllocTypeName()
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dutil_test.cc94 tensors_[1].allocation_type = kTfLiteMmapRo; in TEST_F()
Dreshape_op_builder.cc131 if (shape->allocation_type != kTfLiteMmapRo) { in IsReshapeOpSupported()
/external/tensorflow/tensorflow/lite/tools/serialization/
Dwriter_lib.cc194 if (tensor->allocation_type == kTfLiteMmapRo) { in ExportTensors()
350 if (tensor->allocation_type == kTfLiteMmapRo) { in CheckInputOutput()
371 if (tensor->allocation_type == kTfLiteMmapRo) { in CheckInputOutput()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc1408 if (tensor->allocation_type == kTfLiteMmapRo) { in AddTensor()
1714 axis_tensor.allocation_type == kTfLiteMmapRo && in Validate()
1905 kTfLiteMmapRo, in Validate()
1937 kTfLiteMmapRo, in Validate()
1974 kTfLiteMmapRo, in Validate()
2228 kTfLiteMmapRo), in Validate()
2270 kTfLiteMmapRo) && in Validate()
2272 kTfLiteMmapRo), in Validate()
2369 .allocation_type == kTfLiteMmapRo; in Validate()
2448 Expect(operand0.allocation_type == kTfLiteMmapRo, in Validate()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel_builder_test.cc254 tensor0->allocation_type = kTfLiteMmapRo; in InterpreterFp16()
255 tensor2->allocation_type = kTfLiteMmapRo; in InterpreterFp16()
876 tensor0->allocation_type = kTfLiteMmapRo; in InterpreterMultiNode()
877 tensor1->allocation_type = kTfLiteMmapRo; in InterpreterMultiNode()
878 tensor2->allocation_type = kTfLiteMmapRo; in InterpreterMultiNode()
/external/tensorflow/tensorflow/lite/kernels/
Dkernel_util.h179 return tensor->allocation_type == kTfLiteMmapRo; in IsConstantTensor()

12