1 #ifndef OPENPOSE_NET_RESIZE_AND_MERGE_BASE_HPP
2 #define OPENPOSE_NET_RESIZE_AND_MERGE_BASE_HPP
10 T* targetPtr,
const std::vector<const T*>& sourcePtrs,
const std::array<int, 4>& targetSize,
11 const std::vector<std::array<int, 4>>& sourceSizes,
const std::vector<T>& scaleInputToNetInputs = {1.f});
16 T* targetPtr,
const std::vector<const T*>& sourcePtrs,
const std::array<int, 4>& targetSize,
17 const std::vector<std::array<int, 4>>& sourceSizes,
const std::vector<T>& scaleInputToNetInputs = {1.f});
22 T* targetPtr,
const std::vector<const T*>& sourcePtrs, std::vector<T*>& sourceTempPtrs,
23 const std::array<int, 4>& targetSize,
const std::vector<std::array<int, 4>>& sourceSizes,
24 const std::vector<T>& scaleInputToNetInputs = {1.f},
const int gpuID = 0);
27 #endif // OPENPOSE_NET_RESIZE_AND_MERGE_BASE_HPP
void resizeAndMergeGpu(T *targetPtr, const std::vector< const T * > &sourcePtrs, const std::array< int, 4 > &targetSize, const std::vector< std::array< int, 4 >> &sourceSizes, const std::vector< T > &scaleInputToNetInputs={1.f})
void resizeAndMergeOcl(T *targetPtr, const std::vector< const T * > &sourcePtrs, std::vector< T * > &sourceTempPtrs, const std::array< int, 4 > &targetSize, const std::vector< std::array< int, 4 >> &sourceSizes, const std::vector< T > &scaleInputToNetInputs={1.f}, const int gpuID=0)
void resizeAndMergeCpu(T *targetPtr, const std::vector< const T * > &sourcePtrs, const std::array< int, 4 > &targetSize, const std::vector< std::array< int, 4 >> &sourceSizes, const std::vector< T > &scaleInputToNetInputs={1.f})
std::vector< T, Alloc > vector
Definition: cl2.hpp:567