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 {
27
27
class FileDataLoader final : public executorch::runtime::DataLoader {
28
28
public:
29
29
/* *
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.
31
34
*
32
35
* @param[in] file_descriptor_uri File descriptor with the prefix "fd:///",
33
36
* followed by the file descriptor number.
You can’t perform that action at this time.
0 commit comments