10 #include <unordered_set>
32 static const std::unordered_set<ReductionOpCode, utility::hash_enum_class>
33 s_regular_reduce_ops = {
39 static const std::unordered_set<ReductionOpCode, utility::hash_enum_class>
44 static const std::unordered_set<ReductionOpCode, utility::hash_enum_class>
45 s_boolean_reduce_ops = {
52 const SizeVector& dims,
58 const SizeVector& dims,
62 #ifdef BUILD_CUDA_MODULE
63 void ReductionCUDA(
const Tensor& src,
65 const SizeVector& dims,
ReductionOpCode
Definition: Reduction.h:21
void ReductionCPU(const Tensor &src, Tensor &dst, const SizeVector &dims, bool keepdim, ReductionOpCode op_code)
Definition: ReductionCPU.cpp:219
void Reduction(const Tensor &src, Tensor &dst, const SizeVector &dims, bool keepdim, ReductionOpCode op_code)
Definition: Reduction.cpp:16
Definition: PinholeCameraIntrinsic.cpp:16