Comments (5)
I found that I need swig3.0, not swig = swig2.0.
from clstm.
OK, it's not working even if I installed swig3.0, and I this this problem relates to that the python setup.py build
fails.
I have the following error when building python extention:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:63:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup() { }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:65:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:70:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& coeffRef(Index index) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:75:26: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template<int LoadMode> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:81:28: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template <int StoreMode> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:87:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(const array<DenseIndex, NumCoords>& coords) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:96:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& coeffRef(const array<DenseIndex, NumCoords>& coords) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:105:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC Scalar* data() const { return m_data; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:114:23: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template <typename T> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:155:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const Derived& m, const Device& device)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:159:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dims; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:161:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(CoeffReturnType* data) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:169:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup() { }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:171:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:176:26: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template<int LoadMode> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:182:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(const array<DenseIndex, NumCoords>& coords) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:189:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC const Scalar* data() const { return m_data; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:215:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:226:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC const Dimensions& dimensions() const { return m_argImpl.dimensions(); }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:228:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(CoeffReturnType*) { return true; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:229:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup() { }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:231:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC CoeffReturnType coeff(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:237:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:242:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC CoeffReturnType* data() const { return NULL; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:266:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC TensorEvaluator(const XprType& op, const Device& device)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:277:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC const Dimensions& dimensions() const { return m_argImpl.dimensions(); }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:279:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(Scalar*) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:283:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup() {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:287:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC CoeffReturnType coeff(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:293:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:298:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC CoeffReturnType* data() const { return NULL; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:322:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC TensorEvaluator(const XprType& op, const Device& device)
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:85:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:337:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC const Dimensions& dimensions() const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:343:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(CoeffReturnType*) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:348:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup() {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:353:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC CoeffReturnType coeff(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:358:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:363:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC CoeffReturnType* data() const { return NULL; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:389:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC TensorEvaluator(const XprType& op, const Device& device)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:405:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC const Dimensions& dimensions() const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:411:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(CoeffReturnType*) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:417:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup() {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:423:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC CoeffReturnType coeff(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:428:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC PacketReturnType packet(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:440:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC CoeffReturnType* data() const { return NULL; }
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:86:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:65:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseNullaryOp(const XprType& xpr, const NullaryOp& func = NullaryOp())
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:68:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:72:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:129:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseUnaryOp(const XprType& xpr, const UnaryOp& func = UnaryOp())
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:132:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:136:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:86:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:208:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseBinaryOp(const LhsXprType& lhs, const RhsXprType& rhs, const BinaryOp& func = BinaryOp())
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:211:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:215:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:219:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:279:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:286:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:289:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:292:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:87:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:51:55: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template <typename InputDims, typename ReducedDims> EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:71:62: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template <typename InputDims, typename Index, size_t Rank> EIGEN_DEVICE_FUNC
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:87:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:125:10: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index firstIndex, Op& reducer, typename Self::CoeffReturnType* accum) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:135:10: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index firstIndex, Op& reducer, typename Self::CoeffReturnType* accum) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:144:10: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index index, Op& reducer, typename Self::CoeffReturnType* accum) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:151:10: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename Self::CoeffReturnType reduce(const Self& self, typename Self::Index firstIndex, typename Self::Index numValuesToReduce, Op& reducer) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:162:10: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename Self::CoeffReturnType reduce(const Self& self, typename Self::Index firstIndex, typename Self::Index numValuesToReduce, Op& reducer) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:179:10: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self&, typename Self::Index, Op&, typename Self::PacketReturnType*) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:186:10: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index firstIndex, Op& reducer, typename Self::PacketReturnType* accum) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:197:10: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index firstIndex, Op& reducer, typename Self::PacketReturnType* accum) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:206:10: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self&, typename Self::Index, Op&, typename Self::PacketReturnType*) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:216:10: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
static EIGEN_DEVICE_FUNC void run(const Self& self, Op& reducer, const Device&, typename Self::CoeffReturnType* output) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:390:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:393:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:397:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:399:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:401:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:438:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:507:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dimensions; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:512:23: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool evalSubExprsIfNeeded(CoeffReturnType* data) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:571:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup() {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:578:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:598:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:637:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC Scalar* data() const { return NULL; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:655:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index firstInput(Index index) const {
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:89:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:63:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorIndexTupleOp(const XprType& expr)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:66:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:95:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:98:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:102:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(Scalar* /*data*/) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:106:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup() {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:110:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:115:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC Scalar* data() const { return NULL; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:168:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorTupleReducerOp(const XprType& expr,
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:174:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:178:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:181:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:184:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:89:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:217:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:233:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:237:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(Scalar* /*data*/) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:241:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup() {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:245:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:250:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC Scalar* data() const { return NULL; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h:253:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC void gen_strides(const InputDimensions& dims, StrideDims& strides) {
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:90:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:73:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp(const LhsXprType& lhs, const RhsXprType& rhs, Axis axis)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:76:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:80:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:84:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC const Axis& axis() const { return m_axis; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:86:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:96:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:131:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:181:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dimensions; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:184:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(Scalar* /*data*/)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:191:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup()
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:199:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:253:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:267:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC Scalar* data() const { return NULL; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:294:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(XprType& op, const Device& device)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:305:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType& coeffRef(Index index)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h:333:28: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template <int StoreMode> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:91:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:31:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE CoeffLoader(const Tensor& tensor) : m_tensor(tensor) { }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:33:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void offsetBuffer(typename Tensor::Index) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:37:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE typename Tensor::Scalar coeff(typename Tensor::Index index) const { return m_tensor.coeff(index); }
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:91:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:39:25: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template<int LoadMode> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:55:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE CoeffLoader(const Tensor& tensor) : m_data(tensor.data()) {}
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:57:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void offsetBuffer(typename Tensor::Index offset) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:61:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE typename Tensor::Scalar coeff(typename Tensor::Index index) const { return loadConstant(m_data+index); }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:63:25: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template<int LoadMode> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:79:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:95:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void offsetBuffer(typename Tensor::Index offset) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:99:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:102:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:108:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:113:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:151:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:196:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Index firstAligned(Index size) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:202:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Index stride() const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:225:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:237:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:280:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:91:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:308:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:317:18: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template <int> EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:323:18: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template <int> EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:350:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC TensorContractionSubMapper(const ParentMapper& base_mapper, Index vert_offset, Index horiz_offset)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:360:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar operator()(Index i) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:366:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar operator()(Index i, Index j) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:373:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet loadPacket(Index i) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:379:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet loadPacket(Index i, Index j) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:386:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE HalfPacket loadHalfPacket(Index i) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:393:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void storePacket(Index i, Packet p) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:400:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE LinearMapper getLinearMapper(Index i, Index j) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:408:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketT load(Index i) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:418:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool aligned(Index) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:442:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC TensorContractionInputMapper(const Tensor& tensor,
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:449:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h:454:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE VectorMapper getVectorMapper(Index i, Index j) const {
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:92:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:88:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp(
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:92:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:96:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:100:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:156:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:326:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dimensions; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:328:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(Scalar* data) {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:341:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC void evalTo(Scalar* buffer) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:421:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup() {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:431:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:436:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:440:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar* data() const { return m_result; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h: In member function ‘void Eigen::TensorContractionEvaluatorBase<Derived>::evalGemv(Eigen::TensorContractionEvaluatorBase<Derived>::Scalar*) const’:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:416:111: error: wrong number of template arguments (8, should be 7)
internal::general_matrix_vector_product<Index,LhsScalar,LhsMapper,ColMajor,false,RhsScalar,RhsMapper,false>::run(
^
In file included from /usr/include/eigen3/Eigen/Core:287:0,
from /usr/include/eigen3/Eigen/Dense:1,
from tensor.h:36,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/include/eigen3/Eigen/src/Core/util/BlasUtil.h:38:8: error: provided for ‘template<class Index, class LhsScalar, int LhsStorageOrder, bool ConjugateLhs, class RhsScalar, bool ConjugateRhs, int Version> struct Eigen::internal::general_matrix_vector_product’
struct general_matrix_vector_product;
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:92:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:416:117: error: invalid type in declaration before ‘(’ token
internal::general_matrix_vector_product<Index,LhsScalar,LhsMapper,ColMajor,false,RhsScalar,RhsMapper,false>::run(
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:418:31: error: expression list treated as compound expression in initializer [-fpermissive]
buffer, resIncr, alpha);
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h: At global scope:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:515:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC TensorEvaluator(const XprType& op, const Device& device) :
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:529:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC void evalGemm(Scalar* buffer) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h: In member function ‘void Eigen::TensorEvaluator<const Eigen::TensorContractionOp<Dimensions, LhsXprType, RhsXprType>, Device_>::evalProduct(Eigen::TensorEvaluator<const Eigen::TensorContractionOp<Dimensions, LhsXprType, RhsXprType>, Device_>::Scalar*) const’:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:525:5: error: ‘evalGemm’ was not declared in this scope
evalGemm<lhs_inner_dim_contiguous, rhs_inner_dim_contiguous, rhs_inner_dim_reordered, Alignment>(buffer);
^
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:95:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h: At global scope:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:55:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:60:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TgtPacket packet(Index index) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:71:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:76:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TgtPacket packet(Index index) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:92:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:97:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TgtPacket packet(Index index) const {
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:134:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConversionOp(const XprType& xpr)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:137:5: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:163:70: error: ‘type_casting_traits’ is not a member of ‘Eigen::internal’
PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess && internal::type_casting_traits<SrcType, TargetType>::VectorizedCast,
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:163:107: error: expected primary-expression before ‘,’ token
PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess && internal::type_casting_traits<SrcType, TargetType>::VectorizedCast,
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:163:109: error: declaration of ‘TargetType’
PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess && internal::type_casting_traits<SrcType, TargetType>::VectorizedCast,
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:149:10: error: shadows template parm ‘class TargetType’
template<typename TargetType, typename ArgType, typename Device>
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:163:119: error: expected ‘}’ before ‘>’ token
PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess && internal::type_casting_traits<SrcType, TargetType>::VectorizedCast,
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:163:119: error: expected unqualified-id before ‘>’ token
In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:95:0,
from tensor.h:39,
from batches.h:6,
from clstm.h:17,
from ctc.cc:8:
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:168:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:173:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_impl.dimensions(); }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:175:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(Scalar* /*data*/)
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:181:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup()
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:186:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:193:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:202:3: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
EIGEN_DEVICE_FUNC Scalar* data() const { return NULL; }
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:204:3: error: expected unqualified-id before ‘protected’
protected:
^
/usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h:208:1: error: expected declaration before ‘}’ token
} // end namespace Eigen
^
error: Command "x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -fPIC -I/usr/include/eigen3 -I/usr/local/include/eigen3 -I/usr/local/include -I/usr/include/hdf5/serial -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c ctc.cc -o build/temp.linux-x86_64-2.7/ctc.o -std=c++11 -Wno-sign-compare -Dadd_raw=add -DNODISPLAY=1 -DTHROW=throw -DHGVERSION="\"unknown\""" failed with exit status 1
Which commit supports the clstm python binding or how can I solve the problem?
from clstm.
Also I'm using the eigen3 tensorflow_fix version.
from clstm.
OK, maybe I found out the problem by reading the commits that I can't use the master branch and I maybe have to use the separate_derivs branch.
from clstm.
I finally succeed importing clstm python module by using the separate-derivs
branch. It'll be more helpful for another developers using the clstm if you write that the stable branch is on the separate-derivs
in the master branch README.
from clstm.
Related Issues (20)
- core dumped, w != 0 failed
- Missing last char of the line. HOT 4
- Sort and Sed commands are causing the model not to train (ERROR 1/OUT is empty) HOT 2
- Arabic 800,000 model cant go below Error Rate 0.5 HOT 4
- Always missing one character in the output HOT 3
- Can I use this tool to do scene text detection + recognition ? HOT 2
- Is it possible to train multiple languages on a one model file ? HOT 6
- Error in training uw3-500
- clstmocr - error opening clstm file (trained model) HOT 8
- Segmentation fault when running clstmocr on pre-trained model HOT 1
- Error while using clstm models that I trained and test it !
- I want to use gpu to speed up training model! How do I do, I follow the previous issu to do but failed
- error: use of undeclared identifier 'environ' HOT 6
- How to optimally prepare the data
- Segmentation Fault when running tests HOT 1
- Inaccurate training
- question: clstmocrtrain on GPU
- How to make predictions using python code
- Is there a graphical depiction of the model being used/trained here? HOT 4
- question HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clstm.