(self, node)
| 134 | # Beware: this doesn't take into account the nodes that may be skipped |
| 135 | # since placement constraints force their placement. |
| 136 | def _get_node_fanin(self, node): |
| 137 | input_ops = [] |
| 138 | for fanin_name in node.input: |
| 139 | if fanin_name[0] == "^": |
| 140 | fanin_name = fanin_name[1:] |
| 141 | fanin_name = fanin_name.split(":")[0] |
| 142 | input_ops.append(self.get_node_by_name(fanin_name)) |
| 143 | return input_ops |
no test coverage detected