/external/tensorflow/tensorflow/lite/toco/ |
D | allocate_transient_arrays.cc | 47 bool StartsAt(const ArrayLifespan& lifespan, std::size_t op_index) { in StartsAt() argument 48 return !lifespan.persistent && lifespan.first_op == op_index; in StartsAt() 51 bool EndsAt(const ArrayLifespan& lifespan, std::size_t op_index) { in EndsAt() argument 52 return !lifespan.persistent && lifespan.last_op == op_index; in EndsAt() 58 const string& array_name, std::size_t op_index, in UpdateArrayLifespan() argument 63 lifespan.first_op = std::min(lifespan.first_op, op_index); in UpdateArrayLifespan() 64 lifespan.last_op = std::max(lifespan.last_op, op_index); in UpdateArrayLifespan() 68 lifespan.first_op = op_index; in UpdateArrayLifespan() 69 lifespan.last_op = op_index; in UpdateArrayLifespan() 84 for (std::size_t op_index = 0; op_index < model.operators.size(); in ComputeArrayLifespans() local [all …]
|
D | dump_graphviz.cc | 513 string GetOpId(int op_index) { return StringF("op%05d", op_index); } in GetOpId() argument 515 void DumpOperator(const Model& model, string* output_file, int op_index) { in DumpOperator() argument 517 const Operator& op = *model.operators[op_index]; in DumpOperator() 520 string op_id = GetOpId(op_index); in DumpOperator() 525 void DumpOperatorEdges(const Model& model, string* output_file, int op_index) { in DumpOperatorEdges() argument 527 const Operator& op = *model.operators[op_index]; in DumpOperatorEdges() 528 string op_id = GetOpId(op_index); in DumpOperatorEdges() 633 for (int op_index = 0; op_index < model.operators.size(); op_index++) { in DumpArray() local 634 const Operator& op = *model.operators[op_index]; in DumpArray() 636 DumpOperator(model, output_file, op_index); in DumpArray() [all …]
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | graph_transformations.cc | 139 int op_index = increment == 1 ? 0 : model->operators.size() - 1; in GraphTransformationsPass() local 146 *status = transformation->Run(model, op_index, &changed_now); in GraphTransformationsPass() 156 << " at op_index=" << op_index << "/" in GraphTransformationsPass() 161 << " at op_index=" << op_index << "/" in GraphTransformationsPass() 168 op_index = std::min<int>(op_index, model->operators.size() - 1); in GraphTransformationsPass() 181 if (op_index == op_index_last) { in GraphTransformationsPass() 184 op_index += increment; in GraphTransformationsPass()
|
D | remove_tensorflow_identity.cc | 29 std::size_t op_index, in Run() argument 32 const auto passthru_it = model->operators.begin() + op_index; in Run() 38 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | remove_trivial_concatenation.cc | 29 std::size_t op_index, in Run() argument 32 const auto concat_it = model->operators.begin() + op_index; in Run() 40 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | graph_transformations.h | 30 virtual ::tensorflow::Status Run(Model* model, std::size_t op_index, 119 ::tensorflow::Status Run(Model* model, std::size_t op_index, \ 217 ::tensorflow::Status Run(Model* model, std::size_t op_index, in DECLARE_GRAPH_TRANSFORMATION() 236 ::tensorflow::Status Run(Model* model, std::size_t op_index, 252 ::tensorflow::Status Run(Model* model, std::size_t op_index, 270 ::tensorflow::Status Run(Model* model, std::size_t op_index, 288 ::tensorflow::Status Run(Model* model, std::size_t op_index,
|
D | resolve_squeeze_attributes.cc | 29 std::size_t op_index, in Run() argument 32 auto* squeeze_op = model->operators[op_index].get(); in Run() 48 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | drop_fake_quant.cc | 28 ::tensorflow::Status DropFakeQuant::Run(Model* model, std::size_t op_index, in Run() argument 31 const auto fakequant_it = model->operators.begin() + op_index; in Run() 55 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | remove_trivial_slice.cc | 52 ::tensorflow::Status RemoveTrivialSlice::Run(Model* model, std::size_t op_index, in Run() argument 55 const auto reshape_it = model->operators.begin() + op_index; in Run() 68 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | remove_trivial_fake_quant.cc | 68 std::size_t op_index, in Run() argument 71 const auto op_it = model->operators.begin() + op_index; in Run() 86 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | resolve_constant_select.cc | 31 std::size_t op_index, in Run() argument 34 auto it = model->operators.begin() + op_index; in Run() 79 RemoveTrivialPassthroughOp(this, model, op_index, cond_value ? 1 : 2); in Run()
|
D | remove_trivial_quantized_min_max.cc | 73 std::size_t op_index, in Run() argument 76 const auto it = model->operators.begin() + op_index; in Run() 88 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | remove_trivial_reshape.cc | 85 std::size_t op_index, in Run() argument 88 const auto reshape_it = model->operators.begin() + op_index; in Run() 102 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | remove_trivial_quantized_activation_func.cc | 98 Model* model, std::size_t op_index, bool* modified) { in Run() argument 100 const auto it = model->operators.begin() + op_index; in Run() 111 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | group_bidirectional_sequence_ops.cc | 409 ::tensorflow::Status GroupDynamicSequenceOps(Model* model, std::size_t op_index, in GroupDynamicSequenceOps() argument 416 auto op_it = model->operators.begin() + op_index; in GroupDynamicSequenceOps() 489 std::size_t op_index, in Run() argument 496 auto op_it = model->operators.begin() + op_index; in Run() 567 std::size_t op_index, in Run() argument 574 auto op_it = model->operators.begin() + op_index; in Run() 643 Model* model, std::size_t op_index, bool* modified) { in Run() argument 645 model, op_index, OperatorType::kBidirectionalSequenceRnn, modified); in Run() 649 Model* model, std::size_t op_index, bool* modified) { in Run() argument 651 model, op_index, OperatorType::kBidirectionalSequenceLstm, modified); in Run()
|
D | propagate_activation_function_into_constants.cc | 30 Model* model, std::size_t op_index, bool* modified) { in Run() argument 32 const auto ac_it = model->operators.begin() + op_index; in Run() 119 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | remove_trivial_binary.cc | 50 std::size_t op_index, in Run() argument 53 const auto binary_it = model->operators.begin() + op_index; in Run() 132 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | drop_im2col_arrays.cc | 22 ::tensorflow::Status DropIm2colArrays::Run(Model* model, std::size_t op_index, in Run() argument 25 auto conv_it = model->operators.begin() + op_index; in Run()
|
D | remove_tensorflow_assert.cc | 27 std::size_t op_index, in Run() argument 30 const auto assert_it = model->operators.begin() + op_index; in Run()
|
D | resolve_reshape_attributes.cc | 29 std::size_t op_index, in Run() argument 32 const auto reshape_it = model->operators.begin() + op_index; in Run()
|
D | resolve_tensorflow_merge.cc | 28 std::size_t op_index, in Run() argument 31 const auto merge_it = model->operators.begin() + op_index; in Run()
|
/external/tensorflow/tensorflow/lite/experimental/writer/ |
D | writer_lib.cc | 55 for (int op_index : interpreter_->execution_plan()) { in ExportOperators() local 57 interpreter_->node_and_registration(op_index); in ExportOperators() 60 operator_to_opcode[op_index] = in ExportOperators() 63 operator_to_opcode[op_index] = in ExportOperators() 68 for (int op_index : interpreter_->execution_plan()) { in ExportOperators() local 70 interpreter_->node_and_registration(op_index); in ExportOperators() 93 custom_writer->second(fbb, interpreter_, op_index, &custom_options, in ExportOperators() 103 int opcode_index = operator_to_opcode[op_index]; in ExportOperators() 128 for (int op_index = 0; op_index < interpreter_->nodes_size(); ++op_index) { in ExportTensors() local 130 interpreter_->node_and_registration(op_index); in ExportTensors()
|
/external/ltp/testcases/kernel/syscalls/epoll/ |
D | epoll-ltp.c | 357 epoll_fds[epfd_index], epoll_ctl_ops[op_index], \ 362 epoll_fds[epfd_index], epoll_ctl_ops[op_index], \ 371 epoll_fds[epfd_index], epoll_ctl_ops[op_index], \ 376 epoll_fds[epfd_index], epoll_ctl_ops[op_index], \ 409 unsigned int op_index; /* index into the list of operations for the op in test_epoll_ctl() local 470 for (op_index = 0; in test_epoll_ctl() 471 op_index < in test_epoll_ctl() 473 sizeof(int)); op_index++) { in test_epoll_ctl() 495 [op_index], in test_epoll_ctl() 522 switch (epoll_ctl_ops[op_index]) { in test_epoll_ctl()
|
/external/tensorflow/tensorflow/lite/tools/ |
D | visualize.py | 225 for op_index, op in enumerate(g["operators"]): 229 op_index * pixel_mult, 233 "target": OpName(op_index) 238 "source": OpName(op_index) 241 "id": OpName(op_index), 245 "y": op_index * pixel_mult
|
/external/tensorflow/tensorflow/lite/examples/label_image/ |
D | label_image.cc | 74 void PrintProfilingInfo(const profiling::ProfileEvent* e, uint32_t op_index, in PrintProfilingInfo() argument 82 << ", Node " << std::setw(3) << std::setprecision(3) << op_index in PrintProfilingInfo() 209 auto op_index = profile_events[i]->event_metadata; in RunInference() local 211 interpreter->node_and_registration(op_index); in RunInference() 213 PrintProfilingInfo(profile_events[i], op_index, registration); in RunInference()
|