(n)
| 7121 | this._nodes = new Map(); |
| 7122 | } |
| 7123 | insert(n) { |
| 7124 | const key = torch._C.HashNode(n); |
| 7125 | if (this._nodes.has(key)) { |
| 7126 | this._nodes.get(key).push(n); |
| 7127 | } else { |
| 7128 | this._nodes.set(key, [n]); |
| 7129 | } |
| 7130 | } |
| 7131 | get(n) { |
| 7132 | const key = torch._C.HashNode(n); |
| 7133 | if (this._nodes.has(key)) { |
no test coverage detected