1 #ifndef IMAGELAYER_HPP_ 2 #define IMAGELAYER_HPP_ 4 #include "InputLayer.hpp" 5 #include "structures/Image.hpp" 14 virtual Response::Status registerData(
Checkpointer *checkpointer)
override;
15 void populateFileList();
18 void readImage(std::string filename);
23 virtual std::string
const &
27 std::unique_ptr<Image> mImage =
nullptr;
31 bool mUsingFileList =
false;
34 std::vector<std::string> mFileList;
37 std::string mURLDownloadTemplate;
41 #endif // IMAGELAYER_HPP_
virtual int countInputImages() override
virtual std::string describeInput(int index) override
virtual std::string const & getCurrentFilename(int localBatchElement, int mpiBatchIndex) const override
virtual Buffer< float > retrieveData(int inputIndex) override