Caffe
Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Variables
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
include
caffe
util
format.hpp
1
#ifndef CAFFE_UTIL_FORMAT_H_
2
#define CAFFE_UTIL_FORMAT_H_
3
4
#include <iomanip>
// NOLINT(readability/streams)
5
#include <sstream>
// NOLINT(readability/streams)
6
#include <string>
7
8
namespace
caffe
{
9
10
inline
std::string format_int(
int
n,
int
numberOfLeadingZeros = 0 ) {
11
std::ostringstream s;
12
s << std::setw(numberOfLeadingZeros) << std::setfill(
'0'
) << n;
13
return
s.str();
14
}
15
16
}
17
18
#endif // CAFFE_UTIL_FORMAT_H_
caffe
A layer factory that allows one to register layers. During runtime, registered layers can be called b...
Definition:
blob.hpp:14
Generated on Sat Nov 21 2020 07:17:44 for Caffe by
1.8.20