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