Remove eigen compliation option (#161)

Remove eigen option
This commit is contained in:
Jack Zhou
2022-08-26 11:20:52 +08:00
committed by GitHub
parent e345ef6fd9
commit 391d66381f
10 changed files with 10 additions and 35 deletions

View File

@@ -21,8 +21,6 @@
#include "fastdeploy/utils/utils.h"
namespace fastdeploy {
#ifdef ENABLE_FDTENSOR_FUNC
template <typename T>
struct ValueClip {
T operator()(const T& x) const {
@@ -122,5 +120,4 @@ void Softmax(const FDTensor& x, FDTensor* out, int axis) {
FD_VISIT_FLOAT_TYPES(x.dtype, "SoftmaxKernel",
([&] { SoftmaxKernel<data_t>(x, out, axis); }));
}
#endif
} // namespace fastdeploy