diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-09 18:32:34 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-09 18:32:34 -0500 |
commit | be86554f2325427bb9421aa7274d135becab443c (patch) | |
tree | e10394ee21c757b34a6d6e943a16b7e12db38f01 /imagenet.h | |
parent | 1e0fa0b5b760a23a82194a2aecfd8ba3e4114eb9 (diff) | |
download | lingo-be86554f2325427bb9421aa7274d135becab443c.tar.gz lingo-be86554f2325427bb9421aa7274d135becab443c.tar.bz2 lingo-be86554f2325427bb9421aa7274d135becab443c.zip |
Added green hints
Diffstat (limited to 'imagenet.h')
-rw-r--r-- | imagenet.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/imagenet.h b/imagenet.h new file mode 100644 index 0000000..e2c57de --- /dev/null +++ b/imagenet.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef IMAGENET_H_41BE424F | ||
2 | #define IMAGENET_H_41BE424F | ||
3 | |||
4 | #include <string> | ||
5 | #include <filesystem> | ||
6 | #include <random> | ||
7 | #include <tuple> | ||
8 | |||
9 | class imagenet { | ||
10 | public: | ||
11 | |||
12 | explicit imagenet(std::string path); | ||
13 | |||
14 | // returns bytedata, extension | ||
15 | std::tuple<std::string, std::string> getImageForNotion(int notion_id, std::mt19937& rng) const; | ||
16 | |||
17 | private: | ||
18 | |||
19 | std::filesystem::path path_; | ||
20 | }; | ||
21 | |||
22 | #endif /* end of include guard: IMAGENET_H_41BE424F */ | ||