SIGN IN SIGN UP

[executorch][serialization] Serialize PTD files.

Pull Request resolved: https://github.com/pytorch/executorch/pull/7270

Introduce top-level serialization file that calls:
- serialize_pte_binary for PTE file
- FlatTensor.serialize_tensors for PTD files.


ghstack-source-id: 262004271
@exported-using-ghexport

Differential Revision: [D66523267](https://our.internmc.facebook.com/intern/diff/D66523267/)

---------

Co-authored-by: lucylq <lfq@meta.com>
P
pytorchbot committed
948fba6eefe9ca27b7157ef8fb772aabf7015b27
Parent: 5f6fa23
Committed by GitHub <noreply@github.com> on 1/21/2025, 5:26:54 PM