Home
last modified time | relevance | path

Searched refs:switch_input (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dswitch_or_switch_layer_defer_inline.h38 *(true_abstract->func_graph()->switch_input()) = true; in operator()
42 *(false_abstract->func_graph()->switch_input()) = true; in operator()
Dinline.h47 if (fg->has_flag(FUNC_GRAPH_FLAG_DEFER_INLINE) || fg->stub() || *(fg->switch_input()) || in operator()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dfunctionalize_cond.cc121 auto switch_input = utils::cast<CNodePtr>(switch_node->input(1)); in IdentifySubgraphInput() local
122 auto pos = PosInInputNodes(switch_input); in IdentifySubgraphInput()
/third_party/mindspore/mindspore/core/ir/
Dfunc_graph.h394 std::shared_ptr<bool> switch_input() const { return switch_input_; } in switch_input() function
395 void set_switch_input(std::shared_ptr<bool> switch_input) { switch_input_ = switch_input; } in set_switch_input() argument
Dfunc_graph_cloner.cc232 (*target_func_graph)->set_switch_input(func_graph->switch_input()); in SetFuncGraphInfo()
756 new_func_graph->set_switch_input(func_graph->switch_input()); in TransformableClone()
/third_party/mindspore/mindspore/ccsrc/debug/
Danf_ir_utils.cc581 if (*(func_graph->switch_input())) { in ExportOneFuncGraph()
582 ofs << "switch_input: " << *(func_graph->switch_input()) << "\n"; in ExportOneFuncGraph()
/third_party/mindspore/mindspore/lite/src/
Dscheduler.cc716 auto switch_input = NodeInputIsSwitch(node); in InferCallShape() local
717 if (switch_input) { in InferCallShape()
718 return InferSwitchShape(switch_input); in InferCallShape()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Ddfunctor.cc51 k_graph_->set_switch_input(primal_graph->switch_input()); in DFunctor()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dsession_basic.cc1008 auto switch_input = CreateSwitchInput(cnode, node_input, graph); in CreateCNodeInputs() local
1009 (void)cnode_inputs->emplace_back(switch_input); in CreateCNodeInputs()