SIGN IN SIGN UP

Introduce new DataLoader::load() with segment info (#4158)

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

Adds a new `DataLoader::load()` function with an additonal parameter, SegmentInfo. Makes the old `DataLoader::Load()` function deprecated.

Diff stack:
- (**x**) [[1/n][executorch] Introduce new DataLoader::load() with segment info](https://www.internalfb.com/diff/D59399538?dst_version_fbid=2979141262226992)
- (  ) [[2/n][executorch] Switch to DataLoader::load in runtime](https://www.internalfb.com/diff/D59594142)
- (  ) [[3/n][executorch] Pass in correct backend id into data load from runtime](https://www.internalfb.com/diff/D59606243)

Reviewed By: dbort

Differential Revision: D59399538

fbshipit-source-id: bee86dba1cb02196481af1bdc7673a94b54bf003
J
Jack Zhang committed
bda0f7ce2185576e19b946f905ec75d3efb32610
Parent: 08f4334
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 7/13/2024, 6:37:10 AM