1 #ifndef OPENPOSE_NET_RESIZE_AND_MERGE_CAFFE_HPP
2 #define OPENPOSE_NET_RESIZE_AND_MERGE_CAFFE_HPP
10 template <
typename T>
class Blob;
27 const T netFactor,
const T scaleFactor,
const bool mergeFirstDimension =
true,
30 virtual inline const char*
type()
const {
return "ResizeAndMerge"; }
32 void setScaleRatios(
const std::vector<T>& scaleRatios);
47 std::vector<T*> mTempGPUData;
48 std::vector<T> mScaleRatios;
49 std::vector<std::array<int, 4>> mBottomSizes;
50 std::array<int, 4> mTopSize;
57 #endif // OPENPOSE_NET_RESIZE_AND_MERGE_CAFFE_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:31
Definition: resizeAndMergeCaffe.hpp:19
virtual const char * type() const
Definition: resizeAndMergeCaffe.hpp:30
Definition: macros.hpp:78
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
#define OP_API
Definition: macros.hpp:16