Add constant segment to export_program for tests (#1493)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/1493 - add `extract_constant_segment` to export_program - for each program, generate pte file with constants in segment, and constants in flatbuffer. Reviewed By: dbort Differential Revision: D52434374 fbshipit-source-id: 4a387c6ad46b88723f1865b16558f20e226aff0f
L
Lucy Qiu committed
a81c2d4c033f0b267c706527d699d9d85727af08
Parent: 38b6b97
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 1/2/2024, 9:14:54 PM