36 uint32_t
count(
void)
const {
return _values.size(); }
39 uint32_t &
value(uint32_t n) {
return _values.at(n); }
40 const uint32_t &
value(uint32_t n)
const {
return _values.at(n); }
43 void resize(uint32_t len) {
return _values.resize(len); }
46 std::vector<uint32_t> _values;
A PaddingBase encapsulates common implementation for derived Padding classes.
const uint32_t & value(uint32_t n) const
uint32_t & value(uint32_t n)
virtual ~PaddingBase()=default
void resize(uint32_t len)
uint32_t count(void) const
A RawPadding denotes padding values stored in Caffe model.
A SpatialPadding denotes padding values for each "spatial" dimension.