Home
last modified time | relevance | path

Searched refs:kTfLiteOptionalTensor (Results 1 – 25 of 27) sorted by relevance

12

/external/armnn/delegate/test/
DLstmTestHelper.hpp130 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateLstmTfLiteModel()
189 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateLstmTfLiteModel()
248 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateLstmTfLiteModel()
268 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateLstmTfLiteModel()
288 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateLstmTfLiteModel()
308 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateLstmTfLiteModel()
367 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateLstmTfLiteModel()
387 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateLstmTfLiteModel()
430 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateLstmTfLiteModel()
451 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateLstmTfLiteModel()
[all …]
DUnidirectionalSequenceLstmTestHelper.hpp152 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateUnidirectionalSequenceLstmTfLiteModel()
214 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateUnidirectionalSequenceLstmTfLiteModel()
277 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateUnidirectionalSequenceLstmTfLiteModel()
298 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateUnidirectionalSequenceLstmTfLiteModel()
319 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateUnidirectionalSequenceLstmTfLiteModel()
338 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateUnidirectionalSequenceLstmTfLiteModel()
395 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateUnidirectionalSequenceLstmTfLiteModel()
415 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateUnidirectionalSequenceLstmTfLiteModel()
457 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateUnidirectionalSequenceLstmTfLiteModel()
477 operatorInputs.push_back(kTfLiteOptionalTensor); in CreateUnidirectionalSequenceLstmTfLiteModel()
[all …]
/external/tensorflow/tensorflow/lite/
Dsimple_planner.cc114 TF_LITE_ENSURE(context_, tensor_index != kTfLiteOptionalTensor); in PlanAllocations()
122 if (tensor_index != kTfLiteOptionalTensor) { in PlanAllocations()
134 if (tensor_index != kTfLiteOptionalTensor) { in PlanAllocations()
156 if (tensor_index != kTfLiteOptionalTensor) { in PlanAllocations()
Darena_planner.cc132 TF_LITE_ENSURE(context_, tensor_index != kTfLiteOptionalTensor); in PlanAllocations()
140 if (tensor_index != kTfLiteOptionalTensor) { in PlanAllocations()
152 if (tensor_index != kTfLiteOptionalTensor) { in PlanAllocations()
175 if (tensor_index != kTfLiteOptionalTensor) { in PlanAllocations()
Dgraph_info.cc142 if (input_tensor_index != kTfLiteOptionalTensor && in UpdateNode()
174 if (input_tensor_index == kTfLiteOptionalTensor) { in UpdateNode()
/external/tensorflow/tensorflow/security/advisory/
Dtfsa-2020-005.md21 #define kTfLiteOptionalTensor (-1)
29 // Continue if index == kTfLiteOptionalTensor before additional comparisons
31 if (index == kTfLiteOptionalTensor) {
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.cc113 if (i == kTfLiteOptionalTensor) continue; in HasDynamicTensorImpl()
640 static_assert(kTfLiteOptionalTensor == -1, in CheckTensorIndices()
647 if (index == kTfLiteOptionalTensor) { in CheckTensorIndices()
968 if (input_tensor_idx == kTfLiteOptionalTensor) continue; in ReleaseMemory()
978 if (output_tensor_idx == kTfLiteOptionalTensor) continue; in ReleaseMemory()
1171 if (output_tensor_idx == kTfLiteOptionalTensor) continue; in PrepareOpsAndTensors()
1180 if (input_tensor_idx == kTfLiteOptionalTensor) continue; in PrepareOpsAndTensors()
1206 if (tensor_index != kTfLiteOptionalTensor) { in RemoveUnusedInputs()
1213 if (*iter == kTfLiteOptionalTensor) continue; in RemoveUnusedInputs()
1219 if (*iter == kTfLiteOptionalTensor) continue; in RemoveUnusedInputs()
[all …]
/external/tensorflow/tensorflow/lite/delegates/hexagon/
Dhexagon_delegate_kernel.cc101 if (tensor_index == kTfLiteOptionalTensor) { in Eval()
127 if (tensor_index == kTfLiteOptionalTensor) { in Eval()
222 if (tensor_index == kTfLiteOptionalTensor) { in Prepare()
/external/tensorflow/tensorflow/lite/kernels/
Dwhile.cc64 if (dst_tensor_indices[i] == kTfLiteOptionalTensor) continue; in CopyTensorsShapeAndType()
95 if (dst_tensor_indices[i] == kTfLiteOptionalTensor) continue; in CopyTensorsData()
155 if (dst_tensor_indices[i] == kTfLiteOptionalTensor) continue; in ShallowCopyTensorsShapeTypeData()
177 if (dst_tensor_indices[i] == kTfLiteOptionalTensor) continue; in ShallowCopyTensorsShapeTypeData()
Dlstm_test.cc258 int input_layer_norm_coefficients_ = kTfLiteOptionalTensor;
259 int forget_layer_norm_coefficients_ = kTfLiteOptionalTensor;
260 int cell_layer_norm_coefficients_ = kTfLiteOptionalTensor;
261 int output_layer_norm_coefficients_ = kTfLiteOptionalTensor;
280 if ((index == kTfLiteOptionalTensor) || data.empty()) return; in PopulateTensor()
286 if (index == kTfLiteOptionalTensor) return; in SetWeights()
Dtest_util.cc125 int id = kTfLiteOptionalTensor; in AddNullInput()
248 if (input_idx == kTfLiteOptionalTensor) continue; in BuildInterpreter()
Dkernel_util.cc63 if (tensor_indices[index] == kTfLiteOptionalTensor) { in ValidateTensorIndexingSafe()
80 if (tensor_index != kTfLiteOptionalTensor) { in ValidateTensorIndexing()
Dfully_connected_test.cc240 (bias_ == kTfLiteOptionalTensor) ? std::vector<int>()
1586 inputs.push_back((bias_ == kTfLiteOptionalTensor) ? std::vector<int>()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc2171 if (i == kTfLiteOptionalTensor) continue; in AppendDynamicDimensions()
3698 mapping_args.node->inputs->data[2] != kTfLiteOptionalTensor; in Map()
3796 if (input_index != kTfLiteOptionalTensor) { in Map()
3891 if (constant_value_id == kTfLiteOptionalTensor) { in Map()
3974 kTfLiteOptionalTensor; in Map()
4217 if (input_index != kTfLiteOptionalTensor) { in Map()
4843 if (i != kTfLiteOptionalTensor && in Invoke()
4919 if (absolute_input_index == kTfLiteOptionalTensor) { in Invoke()
5578 if (input_index == kTfLiteOptionalTensor) { in AddOpsAndTensors()
5696 if (node->inputs->data[input_pos] != kTfLiteOptionalTensor && in AddOpsAndTensors()
[all …]
/external/tensorflow/tensorflow/lite/c/
Dcommon.h77 #define kTfLiteOptionalTensor (-1) macro
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibrator.cc281 if (tensor_index == kTfLiteOptionalTensor) { in GetLoggableTensorIndices()
/external/tensorflow/tensorflow/lite/kernels/parse_example/
Dparse_example_test.cc257 if (input_idx == kTfLiteOptionalTensor) continue; in ResizeInputTensor()
/external/tensorflow/tensorflow/lite/tools/
Dverifier.cc537 if (input_idx == kTfLiteOptionalTensor) continue; in VerifySubGraphConsistency()
Dverifier_test.cc562 builder.AddOperator({kTfLiteOptionalTensor, 0, 1}, {2}, in TEST()
/external/tensorflow/tensorflow/lite/tools/serialization/
Dwriter_lib.cc369 if (tensor_index == kTfLiteOptionalTensor) { in CheckInputOutput()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_weights_portable.cc523 if (tensor_idx == kTfLiteOptionalTensor) { in QuantizeWeightsFloat16()
Dquantize_weights.cc537 if (tensor_idx == kTfLiteOptionalTensor) { in QuantizeWeightsFloat16()
Dquantize_model.cc1567 op->inputs[bias_idx] == kTfLiteOptionalTensor) { in QuantizeBiases()
1774 op->inputs[bias_idx] == kTfLiteOptionalTensor) { in EnsureBiasScaleCompatibility()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dlstm_parser.cc103 (node->inputs->data[index] != kTfLiteOptionalTensor); in HasTensor()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_export.cc1585 operands.push_back(kTfLiteOptionalTensor); in BuildSubGraph()

12