File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
examples/portable/executor_runner Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ namespace extension {
2727class FileDataLoader final : public executorch::runtime::DataLoader {
2828 public:
2929 /* *
30- * Creates a new FileDataLoader that wraps the named file descriptor.
30+ * Creates a new FileDataLoader that wraps the named file descriptor, and the
31+ * ownership of the file descriptor is passed. This helper is used when ET is
32+ * running in a process that does not have access to the filesystem, and the
33+ * caller is able to open the file and pass the file descriptor.
3134 *
3235 * @param[in] file_descriptor_uri File descriptor with the prefix "fd:///",
3336 * followed by the file descriptor number.
You can’t perform that action at this time.
0 commit comments