Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/
Darena_planner.cc130 TF_LITE_ENSURE(context_, tensor_index != kTfLiteOptionalTensor); in PlanAllocations()
138 if (tensor_index != kTfLiteOptionalTensor) { in PlanAllocations()
152 if (tensor_index != kTfLiteOptionalTensor) { in PlanAllocations()
175 if (tensor_index != kTfLiteOptionalTensor) { in PlanAllocations()
Dgraph_info.cc132 if (input_tensor_index != kTfLiteOptionalTensor && in UpdateNode()
159 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/delegates/hexagon/
Dhexagon_delegate_kernel.cc99 if (tensor_index == kTfLiteOptionalTensor) { in Eval()
125 if (tensor_index == kTfLiteOptionalTensor) { in Eval()
218 if (tensor_index == kTfLiteOptionalTensor) { in Prepare()
/external/tensorflow/tensorflow/lite/kernels/
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.cc124 int id = kTfLiteOptionalTensor; in AddNullInput()
212 if (input_idx == kTfLiteOptionalTensor) continue; in BuildInterpreter()
Dkernel_util.cc56 if (tensor_indices[index] == kTfLiteOptionalTensor) { in ValidateTensorIndexingSafe()
73 if (tensor_index != kTfLiteOptionalTensor) { in ValidateTensorIndexing()
Dfully_connected_test.cc193 inputs.push_back((bias_ == kTfLiteOptionalTensor) ? std::vector<int>()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.cc103 if (i == kTfLiteOptionalTensor) continue; in HasDynamicTensorImpl()
579 static_assert(kTfLiteOptionalTensor == -1, in CheckTensorIndices()
586 if (index == kTfLiteOptionalTensor) { in CheckTensorIndices()
1038 if (tensor_index == kTfLiteOptionalTensor) { in Invoke()
/external/tensorflow/tensorflow/lite/c/
Dcommon.h77 #define kTfLiteOptionalTensor (-1) macro
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc1848 node->inputs->data[2] != kTfLiteOptionalTensor, in Validate()
2928 if (input_index != kTfLiteOptionalTensor) { in Map()
3023 if (constant_value_id == kTfLiteOptionalTensor) { in Map()
3388 if (input_index != kTfLiteOptionalTensor) { in Map()
3675 if (i != kTfLiteOptionalTensor) { in Init()
3864 if (i != kTfLiteOptionalTensor && in Invoke()
3915 if (absolute_input_index == kTfLiteOptionalTensor) { in Invoke()
4230 if (input_index == kTfLiteOptionalTensor) { in AddOpsAndTensors()
4385 if (input_index == kTfLiteOptionalTensor) { in AddOpsAndTensors()
4403 if (constant_value_id == kTfLiteOptionalTensor) { in AddOpsAndTensors()
[all …]
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibrator.cc256 if (tensor_index == kTfLiteOptionalTensor) { in GetLoggableTensorIndices()
/external/tensorflow/tensorflow/lite/tools/serialization/
Dwriter_lib.cc342 if (tensor_index == kTfLiteOptionalTensor) { in CheckInputOutput()
/external/tensorflow/tensorflow/lite/tools/
Dverifier.cc541 if (input_idx == kTfLiteOptionalTensor) continue; in VerifySubGraphConsistency()
Dverifier_test.cc528 builder.AddOperator({kTfLiteOptionalTensor, 0, 1}, {2}, in TEST()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_weights.cc563 if (tensor_idx == kTfLiteOptionalTensor) { in QuantizeWeightsFloat16()
Dquantize_model.cc1105 op->inputs[bias_idx] == kTfLiteOptionalTensor) { in QuantizeBiases()
1300 op->inputs[bias_idx] == kTfLiteOptionalTensor) { in EnsureBiasScaleCompatibility()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dlstm_parser.cc71 (node->inputs->data[index] != kTfLiteOptionalTensor); in HasTensor()
Dmodel_builder.cc2459 if (tensor_idx == kTfLiteOptionalTensor) continue; in IsAllAllowedTensors()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_export.cc1470 operands.push_back(kTfLiteOptionalTensor); in BuildSubGraph()