/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 std::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 | 517 std::string GetOpId(int op_index) { return StringF("op%05d", op_index); } in GetOpId() argument 519 void DumpOperator(const Model& model, std::string* output_file, int op_index) { in DumpOperator() argument 521 const Operator& op = *model.operators[op_index]; in DumpOperator() 524 std::string op_id = GetOpId(op_index); in DumpOperator() 530 int op_index) { in DumpOperatorEdges() argument 532 const Operator& op = *model.operators[op_index]; in DumpOperatorEdges() 533 std::string op_id = GetOpId(op_index); in DumpOperatorEdges() 638 for (int op_index = 0; op_index < model.operators.size(); op_index++) { in DumpArray() local 639 const Operator& op = *model.operators[op_index]; in DumpArray() 641 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 | 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 | 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, \ 222 ::tensorflow::Status Run(Model* model, std::size_t op_index, in DECLARE_GRAPH_TRANSFORMATION() 241 ::tensorflow::Status Run(Model* model, std::size_t op_index, 257 ::tensorflow::Status Run(Model* model, std::size_t op_index, 275 ::tensorflow::Status Run(Model* model, std::size_t op_index, 293 ::tensorflow::Status Run(Model* model, std::size_t op_index,
|
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 | remove_trivial_passthrough.cc | 71 Model* model, std::size_t op_index, in RemoveTrivialPassthroughOp() argument 73 auto passthru_it = model->operators.begin() + op_index; in RemoveTrivialPassthroughOp() 127 passthru_it = model->operators.begin() + op_index; in RemoveTrivialPassthroughOp()
|
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() 135 *modified = RemoveTrivialPassthroughOp(this, model, op_index); in Run()
|
D | group_bidirectional_sequence_ops.cc | 403 ::tensorflow::Status GroupDynamicSequenceOps(Model* model, std::size_t op_index, in GroupDynamicSequenceOps() argument 410 auto op_it = model->operators.begin() + op_index; in GroupDynamicSequenceOps() 478 std::size_t op_index, in Run() argument 485 auto op_it = model->operators.begin() + op_index; in Run() 555 std::size_t op_index, in Run() argument 562 auto op_it = model->operators.begin() + op_index; in Run() 630 Model* model, std::size_t op_index, bool* modified) { in Run() argument 632 model, op_index, OperatorType::kBidirectionalSequenceRnn, modified); in Run() 636 Model* model, std::size_t op_index, bool* modified) { in Run() argument 638 model, op_index, OperatorType::kBidirectionalSequenceLstm, modified); 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 | 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/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/serialization/ |
D | writer_lib.cc | 94 for (int op_index : execution_plan_) { in ExportOperators() local 96 subgraph_->node_and_registration(op_index); in ExportOperators() 99 operator_to_opcode[op_index] = in ExportOperators() 102 operator_to_opcode[op_index] = in ExportOperators() 107 for (int op_index : execution_plan_) { in ExportOperators() local 109 subgraph_->node_and_registration(op_index); in ExportOperators() 132 custom_writer->second(fbb, subgraph_, op_index, &custom_options, in ExportOperators() 142 int opcode_index = operator_to_opcode[op_index]; in ExportOperators() 167 for (int op_index = 0; op_index < subgraph_->nodes_size(); ++op_index) { in ExportTensors() local 169 subgraph_->node_and_registration(op_index); in ExportTensors() [all …]
|
/external/tensorflow/tensorflow/lite/tools/ |
D | visualize.py | 296 for op_index, op in enumerate(g["operators"]): 300 first[tensor_index] = ((op_index - 0.5 + 1) * pixel_mult, 304 "target": OpName(op_index) 308 second[tensor_index] = ((op_index + 0.5 + 1) * pixel_mult, 312 "source": OpName(op_index) 316 "id": OpName(op_index), 320 "y": (op_index + 1) * pixel_mult
|
/external/tensorflow/tensorflow/lite/python/ |
D | interpreter.py | 366 def _get_op_details(self, op_index): argument 376 op_index = int(op_index) 377 op_name = self._interpreter.NodeName(op_index) 378 op_inputs = self._interpreter.NodeInputs(op_index) 379 op_outputs = self._interpreter.NodeOutputs(op_index) 382 'index': op_index,
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | modify_model_interface.cc | 41 int32_t op_index; // index of the op. member 240 OperatorT* op = subgraph->operators[tot.op_index].get(); in SetOutputTypeToUINT8() 254 TFLITE_DCHECK(tot.op_index < last_op_index); in RemoveInputTensor() 256 last_op_index = tot.op_index; in RemoveInputTensor() 262 TFLITE_DCHECK(tot.op_index < subgraph->operators.size()); in RemoveInputTensor() 266 subgraph->operators.erase(subgraph->operators.begin() + tot.op_index); in RemoveInputTensor() 280 TFLITE_DCHECK(tot.op_index < last_op_index); in RemoveOutputTensor() 282 last_op_index = tot.op_index; in RemoveOutputTensor() 288 TFLITE_DCHECK(tot.op_index < subgraph->operators.size()); in RemoveOutputTensor() 292 subgraph->operators.erase(subgraph->operators.begin() + tot.op_index); in RemoveOutputTensor()
|