(d)
| 20607 | throw new python.Error(`SymBool has invalid field type ${s.type} with value ${s.value}.`); |
| 20608 | } |
| 20609 | deserialize_device(d) { |
| 20610 | if (d.index === null) { |
| 20611 | return new torch.device(d.type); |
| 20612 | } |
| 20613 | return new torch.device(d.type, d.index); |
| 20614 | } |
| 20615 | _get_schema_from_target(target) { |
| 20616 | if (target instanceof torch._ops.OpOverload) { |
| 20617 | return target._schema; |
no outgoing calls
no test coverage detected