Commit c4c9042
simplify read_image_file and read_label_file functions (#2476)
Summary:
Pull Request resolved: #2476
I simplified the read_image_file and read_label_file functions to make it easier to adapt this code to use it with other file systems that aren't compatible with the simple open command.
Reviewed By: fmassa
Differential Revision: D22530585
fbshipit-source-id: 0dd20f917c947d1ec1eae23474c251ceea85f4271 parent df93114 commit c4c9042
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
474 | | - | |
| 473 | + | |
475 | 474 | | |
476 | 475 | | |
477 | 476 | | |
478 | 477 | | |
479 | 478 | | |
480 | 479 | | |
481 | | - | |
482 | | - | |
| 480 | + | |
483 | 481 | | |
484 | 482 | | |
485 | 483 | | |
0 commit comments