Home
last modified time | relevance | path

Searched refs:op_it (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dgroup_bidirectional_sequence_ops.cc87 Operator* op_it = nullptr; in FindUnidirectionalSequenceOp() local
88 op_it = GetOpWithOutput(model, output_op.inputs[0]); in FindUnidirectionalSequenceOp()
89 if (op_it == nullptr) { in FindUnidirectionalSequenceOp()
93 while (op_it->type == operator_type) { in FindUnidirectionalSequenceOp()
94 sequence_ops->push(op_it); in FindUnidirectionalSequenceOp()
96 op_it = GetOpWithOutput(model, op_it->inputs[0]); in FindUnidirectionalSequenceOp()
97 if (op_it == nullptr) { in FindUnidirectionalSequenceOp()
102 *input_op = op_it; in FindUnidirectionalSequenceOp()
323 std::vector<std::unique_ptr<Operator>>::iterator* op_it, Model* model) { in RewireBidirectionalSequenceSequenceOpsConnections() argument
359 model->operators.emplace(*op_it, bidirectional_sequence_ops[i]); in RewireBidirectionalSequenceSequenceOpsConnections()
[all …]
Dunpartition_embedding_lookup.cc51 auto op_it = model->operators.begin() + op_index; in Run() local
52 if (op_it->get()->type != OperatorType::kDynamicStitch) { in Run()
55 auto* stitch_op = static_cast<DynamicStitchOperator*>(op_it->get()); in Run()
183 op_it = model->operators.emplace(op_it, gather_params_concat_op) + 1; in Run()
196 op_it = model->operators.emplace(op_it, gather_params_permute_op) + 1; in Run()
222 model->operators.emplace(op_it, merged_gather_op); in Run()
Dresolve_transpose_attributes.cc31 const auto op_it = model->operators.begin() + op_index; in Run() local
32 if (op_it->get()->type != OperatorType::kTranspose) in Run()
35 auto* op = static_cast<TransposeOperator*>(op_it->get()); in Run()
Dresolve_batch_to_space_nd_attributes.cc31 const auto op_it = model->operators.begin() + op_index; in Run() local
32 if (op_it->get()->type != OperatorType::kBatchToSpaceND) in Run()
35 auto* op = static_cast<BatchToSpaceNDOperator*>(op_it->get()); in Run()
Didentify_relu1.cc34 const auto op_it = model->operators.begin() + op_index; in Run() local
35 const auto* op_0 = op_it->get(); in Run()
76 model->operators.emplace(op_it, relu1_op); in Run()
Dresolve_space_to_batch_nd_attributes.cc31 const auto op_it = model->operators.begin() + op_index; in Run() local
32 if (op_it->get()->type != OperatorType::kSpaceToBatchND) in Run()
35 auto* op = static_cast<SpaceToBatchNDOperator*>(op_it->get()); in Run()
Dremove_trivial_fake_quant.cc71 const auto op_it = model->operators.begin() + op_index; in Run() local
72 auto* op = op_it->get(); in Run()
Didentify_lstm_split_inputs.cc33 auto op_it = model->operators.begin() + op_index; in Run() local
34 auto curr_op = op_it->get(); in Run()
163 model->operators.emplace(op_it, std::move(lstm_cell_op)); in Run()
Didentify_nearest_upsample.cc85 auto op_it = model->operators.begin() + op_index; in Run() local
86 auto* op = op_it->get(); in Run()
271 op_it = model->operators.emplace(op_it, to_be_inserted_ops.at(i)); in Run()
Didentify_lstm_merge_inputs.cc33 auto op_it = model->operators.begin() + op_index; in Run() local
34 auto src_op = op_it->get(); in Run()
170 model->operators.emplace(op_it, std::move(lstm_cell_op)); in Run()
Didentify_lstm.cc145 auto op_it = model->operators.begin() + op_index; in Run() local
146 Operator* final_output_mul = op_it->get(); in Run()
269 model->operators.emplace(op_it, lstm_cell_op); in Run()
Ddequantize.cc192 const auto op_it = model->operators.begin() + op_index; in Run() local
193 auto* op = op_it->get(); in Run()
Dquantize.cc720 const auto op_it = FindOp(*model, &op); in Run() local
721 model->operators.emplace(op_it + 1, dequantize_op); in Run()
/external/tensorflow/tensorflow/c/eager/
Dtape.h458 auto op_it = op_tape_.find(op_id); in DeleteTrace() local
459 CHECK(op_it != op_tape_.end()); in DeleteTrace()
460 for (const auto& output : op_it->second.output_tensor_info) { in DeleteTrace()
466 for (int64 id : op_it->second.input_tensor_id) { in DeleteTrace()
469 op_it->second.backward_function_deleter(op_it->second.backward_function); in DeleteTrace()
470 op_tape_.erase(op_it); in DeleteTrace()
541 auto op_it = op_tape->find(op_id); in PrepareBackprop() local
543 if (op_id == -1 || op_it == op_tape->end() || in PrepareBackprop()
547 CHECK(result.op_tape.emplace(op_id, op_it->second).second); in PrepareBackprop()
548 for (auto it : op_it->second.input_tensor_id) { in PrepareBackprop()
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Didentify_l2_pool_test.cc66 for (auto& op_it : model.operators) { in RunIdentifyL2Pool() local
67 Operator* op = op_it.get(); in RunIdentifyL2Pool()
Didentify_l2_normalization_test.cc97 for (auto& op_it : model.operators) { in RunIdentifyL2Normalization() local
98 Operator* op = op_it.get(); in RunIdentifyL2Normalization()
/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc196 auto op_it = FindOp(*model, op); in DeleteOpAndArrays() local
197 CHECK(op_it != model->operators.end()); in DeleteOpAndArrays()
198 model->operators.erase(op_it); in DeleteOpAndArrays()
288 for (auto& op_it : model->operators) { in ReplaceArrayUsage() local
289 Operator* op = op_it.get(); in ReplaceArrayUsage()