Home
last modified time | relevance | path

Searched refs:kTfLiteDynamic (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/resource/
Dresource_variable_test.cc54 EXPECT_EQ(kTfLiteDynamic, value->allocation_type); in TEST()
73 InitTensor(shape, kTfLiteDynamic, 1.0f, &tensor); in TEST()
80 EXPECT_EQ(kTfLiteDynamic, value->allocation_type); in TEST()
100 InitTensor(shape_a, kTfLiteDynamic, 1.0, &tensor_a); in TEST()
101 InitTensor(shape_b, kTfLiteDynamic, 4.0, &tensor_b); in TEST()
107 EXPECT_EQ(kTfLiteDynamic, value->allocation_type); in TEST()
119 EXPECT_EQ(kTfLiteDynamic, value->allocation_type); in TEST()
141 InitTensor(shape_a, kTfLiteDynamic, 1.0, &tensor_a); in TEST()
142 InitTensor(shape_b, kTfLiteDynamic, 4.0, &tensor_b); in TEST()
148 EXPECT_EQ(kTfLiteDynamic, value->allocation_type); in TEST()
[all …]
Dresource_variable.cc55 tensor_.allocation_type = kTfLiteDynamic; in AssignFrom()
/external/tensorflow/tensorflow/lite/
Dstring_util_test.cc34 t0->allocation_type = kTfLiteDynamic; in TEST()
38 t1->allocation_type = kTfLiteDynamic; in TEST()
109 t0->allocation_type = kTfLiteDynamic; in TEST()
133 t0->allocation_type = kTfLiteDynamic; in TEST()
158 t0->allocation_type = kTfLiteDynamic; in TEST()
171 t0->allocation_type = kTfLiteDynamic; in TEST()
Doptional_debug_tools.cc92 case kTfLiteDynamic: in AllocTypeName()
Dstring_util.cc118 tensor_buffer, bytes, kTfLiteDynamic, tensor->allocation, in WriteToTensor()
Darena_planner_test.cc492 (*graph.tensors())[1].allocation_type = kTfLiteDynamic; in TEST_F()
Dinterpreter_test.cc443 interpreter.tensor(0)->allocation_type = kTfLiteDynamic; in TEST()
481 tensor->allocation_type = kTfLiteDynamic; in TEST()
1810 interpreter_.tensor(1)->allocation_type = kTfLiteDynamic; in InitWithLazyDelegate()
/external/tensorflow/tensorflow/lite/kernels/
Dkernel_util.h185 return tensor->allocation_type == kTfLiteDynamic; in IsDynamicTensor()
190 if (tensor->allocation_type != kTfLiteDynamic) { in SetTensorToDynamic()
191 tensor->allocation_type = kTfLiteDynamic; in SetTensorToDynamic()
Dtranspose_conv.cc186 col2im->allocation_type = kTfLiteDynamic; in ResizeCol2ImTensor()
201 transposed_weights->allocation_type = kTfLiteDynamic; in ResizeAndTransposeWeights()
362 scratch_buffer->allocation_type = kTfLiteDynamic; in Prepare()
Dembedding_lookup_sparse.cc119 output->allocation_type = kTfLiteDynamic; in Prepare()
Dnumeric_verify.cc114 dequantized->allocation_type = kTfLiteDynamic; in Prepare()
/external/tensorflow/tensorflow/lite/c/
Dcommon.c84 if (t->allocation_type == kTfLiteDynamic || in TfLiteTensorDataFree()
178 if (tensor->allocation_type != kTfLiteDynamic && in TfLiteTensorRealloc()
Dcommon.h334 kTfLiteDynamic, enumerator
/external/tensorflow/tensorflow/lite/delegates/flex/
Dbuffer_map_test.cc42 tensor->allocation_type = kTfLiteDynamic; in MakeLiteTensor()
58 tensor->allocation_type = kTfLiteDynamic; in MakeLiteTensor()
Dtest_util.cc71 return interpreter_->tensor(tensor_index)->allocation_type == kTfLiteDynamic; in IsDynamicTensor()
Dkernel.cc633 if (tensor->allocation_type == kTfLiteDynamic) { in Eval()
/external/tensorflow/tensorflow/lite/kernels/hashtable/
Dhashtable_ops_test.cc693 tensor.allocation_type = kTfLiteDynamic; in CreateTensor()
716 tensor.allocation_type = kTfLiteDynamic; in CreateTensor()
763 sizeof(int32_t), kTfLiteDynamic, resource_handle_tensor->allocation, in SetResourceId()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.cc105 if (tensor.allocation_type == kTfLiteDynamic) { in HasDynamicTensorImpl()
1284 allocation_type = kTfLiteDynamic; in SetTensorParametersReadWrite()
1315 tensor->allocation_type == kTfLiteDynamic || in ResizeTensorImpl()
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
DREADME.md365 * Dynamically allocated (with `kTfLiteDynamic` allocation type) inputs and
Dxnnpack_delegate.cc785 if (tensor.allocation_type == kTfLiteDynamic) { in CheckTensorNonDynamicAllocation()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc1096 new_tensor->allocation_type = kTfLiteDynamic; in AddNewInputConstantTensor()
1419 new_tensor->allocation_type = kTfLiteDynamic; in AddTensor()
3127 bias_tensor->allocation_type = kTfLiteDynamic; in Map()
3431 alpha_tensor.allocation_type = kTfLiteDynamic; in Map()