Searched refs:kOptionalTensor (Results 1 – 12 of 12) sorted by relevance
120 if (tensor_index != kOptionalTensor) { in PlanAllocations()130 if (tensor_index != kOptionalTensor) { in PlanAllocations()143 if (tensor_index != kOptionalTensor) { in PlanAllocations()151 if (tensor_index != kOptionalTensor) { in PlanAllocations()172 if (tensor_index != kOptionalTensor) { in PlanAllocations()
146 if (input_tensor_index != kOptionalTensor && in UpdateNode()171 if (input_tensor_index == kOptionalTensor) { in UpdateNode()
204 if (from_id == kOptionalTensor) { in MapAndAddTensorIds()407 if (augmented_inputs[idx] == kOptionalTensor) { in AddOpsAndParams()717 if (tensor_id != kOptionalTensor) { in BuildGraph()
61 int id = kOptionalTensor; in AddNullInput()129 if (input_idx == kOptionalTensor) continue; in BuildInterpreter()
61 const bool use_tensor = node->inputs->data[index] != kOptionalTensor; in GetOptionalInputTensor()
180 (bias_ == kOptionalTensor) ? std::vector<int>() : GetShape(bias_)});
236 if (from_id == kOptionalTensor) { in MapAndAddTensorIds()437 if (augmented_inputs[idx] == kOptionalTensor) { in AddOpsAndParams()728 if (tensor_id != kOptionalTensor) { in BuildGraph()
407 static_assert(kOptionalTensor == -1, "kOptionalTensor should be defined -1"); in CheckTensorIndices()413 if (index == kOptionalTensor) { in CheckTensorIndices()706 if (tensor_index == kOptionalTensor) { in Invoke()
67 #define kOptionalTensor (-1) macro
1066 if (absolute_input_index == kOptionalTensor) { in Invoke()1234 if (input_index == kOptionalTensor && in AddOpsAndTensors()1281 if (i != kOptionalTensor && in BuildGraph()
216 if (input_idx == kOptionalTensor) continue; in VerifySubGraphConsistency()
449 builder.AddOperator({kOptionalTensor, 0, 1}, {2}, BuiltinOperator_CUSTOM, in TEST()