Improve save() method in torch.jit.ScriptModule #17688
Labels
jit-backlog
low priority
We're unlikely to get around to doing this in the near future
oncall: jit
Add this issue/PR to JIT oncall triage queue
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃殌 Feature
save() method in torch.jit.ScriptModule should support save_to_buffer as well.
Motivation
Right now, to save a torch.jit.ScriptModule to buffer, I have to call function torch.jit.save().
It would be more convenient and consistent if torch.jit.ScriptModule.save() can perform the same job.
Pitch
I can work on this feature.
cc @suo
The text was updated successfully, but these errors were encountered: