(out, ignore_subgraph)
| 13025 | return new torch._C.SourceRange(); |
| 13026 | } |
| 13027 | print_attributes(out, ignore_subgraph) { |
| 13028 | ignore_subgraph = ignore_subgraph || false; |
| 13029 | out.write('['); |
| 13030 | const names = this.attributeNames(); |
| 13031 | for (let i = 0; i < names.length; i++) { |
| 13032 | const name = names[i]; |
| 13033 | if (ignore_subgraph && name === 'Subgraph') { |
| 13034 | continue; |
| 13035 | } |
| 13036 | if (i > 0) { |
| 13037 | out.write(', '); |
| 13038 | } |
| 13039 | out.write(`${name}=`); |
| 13040 | this.printAttrValue(out, name); |
| 13041 | } |
| 13042 | out.write(']'); |
| 13043 | } |
| 13044 | printTypeList(out, items) { |
| 13045 | out.write('['); |
| 13046 | for (let i = 0; i < items.length; i++) { |
no test coverage detected