()
| 7640 | this._combinable_concats = []; |
| 7641 | } |
| 7642 | collectOptimizableConcats() { |
| 7643 | const graph_it = new torch._C.DepthFirstGraphNodeIterator(this._graph); |
| 7644 | for (let node = graph_it.next(); node !== null; node = graph_it.next()) { |
| 7645 | if (node.kind() === 'aten::cat') { |
| 7646 | this.handleConcat(node); |
| 7647 | } |
| 7648 | } |
| 7649 | } |
| 7650 | combineConcats() { |
| 7651 | if (this._combinable_concats.length === 0) { |
| 7652 | return false; |