Home
last modified time | relevance | path

Searched refs:insert_index (Results 1 – 12 of 12) sorted by relevance

/third_party/mindspore/include/api/
Ddelegate.h77 size_t insert_index = from - BeginKernelIterator(); in Replace() local
78 if (insert_index >= kernels_->size()) { in Replace()
82 kernels_->insert(BeginKernelIterator() + insert_index, graph_kernel); in Replace()
83 return BeginKernelIterator() + insert_index + 1; in Replace()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/
Dascend_helper.cc193 … const KernelSelectPtr &kernel_select, size_t insert_index, bool is_insert_input) { in AddTransOpNodeToGraph() argument
199 … input_node = is_insert_input ? AnfAlgo::GetInputNode(node->cast<CNodePtr>(), insert_index) : node; in AddTransOpNodeToGraph()
200 …ing input_format = is_insert_input ? default_format : AnfAlgo::GetOutputFormat(node, insert_index); in AddTransOpNodeToGraph()
201 …std::string dst_format = is_insert_input ? AnfAlgo::GetInputFormat(node, insert_index) : default_f… in AddTransOpNodeToGraph()
202 std::string padding_axis = is_insert_input ? AnfAlgo::GetInputReshapeType(node, insert_index) in AddTransOpNodeToGraph()
203 : AnfAlgo::GetOutputReshapeType(node, insert_index); in AddTransOpNodeToGraph()
204 …o input_node_out_shape = is_insert_input ? AnfAlgo::GetPrevNodeOutputInferShape(node, insert_index) in AddTransOpNodeToGraph()
205 … : AnfAlgo::GetOutputInferShape(input_node, insert_index); in AddTransOpNodeToGraph()
218 …ding_shape = trans::PaddingShape(input_node_out_shape, AnfAlgo::GetInputFormat(node, insert_index), in AddTransOpNodeToGraph()
219 AnfAlgo::GetInputReshapeType(node, insert_index)); in AddTransOpNodeToGraph()
Dascend_helper.h126 … const KernelSelectPtr &kernel_select, size_t insert_index, bool is_insert_input);
/third_party/mindspore/mindspore/lite/tools/optimizer/format/
Dto_format_base.cc119 auto insert_index = sensitive_ops_.at(prim->name()); in InsertPreTransNode() local
120 if (insert_index.empty()) { in InsertPreTransNode()
123 insert_index.push_back(1); in InsertPreTransNode()
126 insert_index.push_back(i); in InsertPreTransNode()
130 for (auto &index : insert_index) { in InsertPreTransNode()
/third_party/abseil-cpp/absl/container/internal/
Dinlined_vector.h596 size_type insert_index = variable
598 size_type insert_end_index = insert_index + insert_count;
612 construction_tx.Construct(new_data + insert_index, &values, insert_count);
614 move_construciton_tx.Construct(new_data, &move_values, insert_index);
618 storage_view.size - insert_index);
629 return iterator(new_data + insert_index);
643 pointer move_assignment_values = storage_view.data + insert_index;
679 return iterator(storage_view.data + insert_index);
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dinlined_vector.h661 size_type insert_index = variable
663 size_type insert_end_index = insert_index + insert_count;
677 construction_tx.Construct(new_data + insert_index, &values, insert_count);
679 move_construciton_tx.Construct(new_data, &move_values, insert_index);
683 storage_view.size - insert_index);
694 return iterator(new_data + insert_index);
708 pointer move_assignment_values = storage_view.data + insert_index;
744 return iterator(storage_view.data + insert_index);
/third_party/spirv-tools/source/opt/
Dvector_dce.cpp368 uint32_t insert_index = current_inst->GetSingleWordInOperand(2); in RewriteInsertInstruction() local
369 if (!live_components.Get(insert_index)) { in RewriteInsertInstruction()
381 temp.Clear(insert_index); in RewriteInsertInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dvector_dce.cpp382 uint32_t insert_index = current_inst->GetSingleWordInOperand(2); in RewriteInsertInstruction() local
383 if (!live_components.Get(insert_index)) { in RewriteInsertInstruction()
395 temp.Clear(insert_index); in RewriteInsertInstruction()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dvector_dce.cpp382 uint32_t insert_index = current_inst->GetSingleWordInOperand(2); in RewriteInsertInstruction() local
383 if (!live_components.Get(insert_index)) { in RewriteInsertInstruction()
395 temp.Clear(insert_index); in RewriteInsertInstruction()
/third_party/flutter/skia/modules/skottie/src/
DSkottieAdapter.cpp213 const auto insert_index = (fComposite == Composite::kAbove) ? i : count - i - 1; in apply() local
215 compute_transform(insert_index))); in apply()
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Ddecrease_transpose_algo.cc289 …std::vector<size_t> insert_index = specify_nchw_op_map.find(prim->name()) == specify_nchw_op_map.e… in InsertPreTransNode() local
292 if (insert_index.empty()) { in InsertPreTransNode()
295 insert_index.push_back(1); in InsertPreTransNode()
298 insert_index.push_back(i); in InsertPreTransNode()
302 for (auto &index : insert_index) { in InsertPreTransNode()
/third_party/curl/lib/vtls/
Dschannel.c1350 int insert_index = (args->certs_count - 1) - args->idx; in add_cert_to_certinfo() local
1351 args->result = Curl_extract_certinfo(args->data, insert_index, in add_cert_to_certinfo()