(typ)
| 12227 | return n; |
| 12228 | } |
| 12229 | createUninitialized(typ) { |
| 12230 | const n = this.create('prim::Uninitialized'); |
| 12231 | n.output().setType(typ); |
| 12232 | return n; |
| 12233 | } |
| 12234 | createEnumValue(e) { |
| 12235 | const enum_type = e.type().expect(torch.EnumType); |
| 12236 | const n = this.create('prim::EnumValue', [e]); |
no test coverage detected