| namespace caffe { | |
| inline std::string format_int(int n, int numberOfLeadingZeros = 0 ) { | |
| std::ostringstream s; | |
| s << std::setw(numberOfLeadingZeros) << std::setfill('0') << n; | |
| return s.str(); | |
| } | |
| } | |
| namespace caffe { | |
| inline std::string format_int(int n, int numberOfLeadingZeros = 0 ) { | |
| std::ostringstream s; | |
| s << std::setw(numberOfLeadingZeros) << std::setfill('0') << n; | |
| return s.str(); | |
| } | |
| } | |