/external/armnn/delegate/test/ |
D | LstmTestHelper.hpp | 130 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 …]
|
D | UnidirectionalSequenceLstmTestHelper.hpp | 152 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/ |
D | simple_planner.cc | 114 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()
|
D | arena_planner.cc | 132 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()
|
D | graph_info.cc | 142 if (input_tensor_index != kTfLiteOptionalTensor && in UpdateNode() 174 if (input_tensor_index == kTfLiteOptionalTensor) { in UpdateNode()
|
/external/tensorflow/tensorflow/security/advisory/ |
D | tfsa-2020-005.md | 21 #define kTfLiteOptionalTensor (-1) 29 // Continue if index == kTfLiteOptionalTensor before additional comparisons 31 if (index == kTfLiteOptionalTensor) {
|
/external/tensorflow/tensorflow/lite/core/ |
D | subgraph.cc | 113 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/ |
D | hexagon_delegate_kernel.cc | 101 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/ |
D | while.cc | 64 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()
|
D | lstm_test.cc | 258 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()
|
D | test_util.cc | 125 int id = kTfLiteOptionalTensor; in AddNullInput() 248 if (input_idx == kTfLiteOptionalTensor) continue; in BuildInterpreter()
|
D | kernel_util.cc | 63 if (tensor_indices[index] == kTfLiteOptionalTensor) { in ValidateTensorIndexingSafe() 80 if (tensor_index != kTfLiteOptionalTensor) { in ValidateTensorIndexing()
|
D | fully_connected_test.cc | 240 (bias_ == kTfLiteOptionalTensor) ? std::vector<int>() 1586 inputs.push_back((bias_ == kTfLiteOptionalTensor) ? std::vector<int>()
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate.cc | 2171 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/ |
D | common.h | 77 #define kTfLiteOptionalTensor (-1) macro
|
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/ |
D | calibrator.cc | 281 if (tensor_index == kTfLiteOptionalTensor) { in GetLoggableTensorIndices()
|
/external/tensorflow/tensorflow/lite/kernels/parse_example/ |
D | parse_example_test.cc | 257 if (input_idx == kTfLiteOptionalTensor) continue; in ResizeInputTensor()
|
/external/tensorflow/tensorflow/lite/tools/ |
D | verifier.cc | 537 if (input_idx == kTfLiteOptionalTensor) continue; in VerifySubGraphConsistency()
|
D | verifier_test.cc | 562 builder.AddOperator({kTfLiteOptionalTensor, 0, 1}, {2}, in TEST()
|
/external/tensorflow/tensorflow/lite/tools/serialization/ |
D | writer_lib.cc | 369 if (tensor_index == kTfLiteOptionalTensor) { in CheckInputOutput()
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantize_weights_portable.cc | 523 if (tensor_idx == kTfLiteOptionalTensor) { in QuantizeWeightsFloat16()
|
D | quantize_weights.cc | 537 if (tensor_idx == kTfLiteOptionalTensor) { in QuantizeWeightsFloat16()
|
D | quantize_model.cc | 1567 op->inputs[bias_idx] == kTfLiteOptionalTensor) { in QuantizeBiases() 1774 op->inputs[bias_idx] == kTfLiteOptionalTensor) { in EnsureBiasScaleCompatibility()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | lstm_parser.cc | 103 (node->inputs->data[index] != kTfLiteOptionalTensor); in HasTensor()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_export.cc | 1585 operands.push_back(kTfLiteOptionalTensor); in BuildSubGraph()
|