We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ff3388 commit d9d65fbCopy full SHA for d9d65fb
1 file changed
examples/mnist-learn/data_read.cpp
@@ -31,7 +31,7 @@
31
* @brief Read buffers from binary data file.
32
* @param path_to_data path to binary data file.
33
*/
34
-std::vector<std::vector<unsigned char>> read_images_from_file(const std::string &path_to_data)
+std::vector<std::vector<unsigned char>> read_images_from_file(const std::filesystem::path &path_to_data)
35
{
36
std::ifstream file_stream(path_to_data, std::ios::binary);
37
std::vector<unsigned char> buffer;
0 commit comments