nnlib
GPU-accelerated, C/C++ neural network library.
printing.h
Go to the documentation of this file.
1 
8 #ifndef NNLIB_PRINTING_H
9 #define NNLIB_PRINTING_H
10 
11 #include <string>
12 
25 std::string constructProgressBar(size_t currentStep, size_t maxSteps);
26 
39 std::string constructPercentage(size_t currentStep, size_t maxSteps);
40 
52 std::string constructTime(size_t milliseconds);
53 
54 #endif //NNLIB_PRINTING_H
std::string constructProgressBar(size_t currentStep, size_t maxSteps)
Construct a string message representing a progress bar.
Definition: printing.cpp:26
std::string constructTime(size_t milliseconds)
Construct a string message displaying current time spent.
Definition: printing.cpp:71
std::string constructPercentage(size_t currentStep, size_t maxSteps)
Construct a string message about progress in percentage form.
Definition: printing.cpp:57