(sig)
| 20138 | throw new python.Error(`Unknown output spec ${o}.`); |
| 20139 | } |
| 20140 | deserialize_signature(sig) { |
| 20141 | return new torch.export.graph_signature.ExportGraphSignature( |
| 20142 | sig.input_specs.map((i) => this.deserialize_input_spec(i)), |
| 20143 | sig.output_specs.map((o) => this.deserialize_output_spec(o))); |
| 20144 | } |
| 20145 | deserialize(serialized_graph_module, serialized_state_dict, constants, example_inputs, symbol_name_to_range) { |
| 20146 | if (torch._export.serde.serialize._CURRENT_DESERIALIZER) { |
| 20147 | throw new python.Error('_CURRENT_DESERIALIZER is already set.'); |
no test coverage detected