| 66 | } |
| 67 | |
| 68 | bool IsConnectToTickOp(const TaskNode* node) { |
| 69 | const auto* comp_task_node = dynamic_cast<const CompTaskNode*>(node); |
| 70 | if (comp_task_node == nullptr) { return false; } |
| 71 | const Operator* op = comp_task_node->op().get(); |
| 72 | if (dynamic_cast<const VariableOp*>(op) != nullptr) { return true; } |
| 73 | return false; |
| 74 | } |
| 75 | |
| 76 | bool IsSubsetTickOpConf(const OperatorConf& op_conf) { |
| 77 | return op_conf.has_src_subset_tick_conf() || op_conf.has_dst_subset_tick_conf(); |
no test coverage detected