/external/eigen/Eigen/src/Core/ |
D | Block.h | 17 template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> 18 struct traits<Block<XprType, BlockRows, BlockCols, InnerPanel> > : traits<XprType> 20 typedef typename traits<XprType>::Scalar Scalar; 21 typedef typename traits<XprType>::StorageKind StorageKind; 22 typedef typename traits<XprType>::XprKind XprKind; 23 typedef typename ref_selector<XprType>::type XprTypeNested; 26 MatrixRows = traits<XprType>::RowsAtCompileTime, 27 MatrixCols = traits<XprType>::ColsAtCompileTime, 32 : int(traits<XprType>::MaxRowsAtCompileTime), 35 : int(traits<XprType>::MaxColsAtCompileTime), [all …]
|
D | Inverse.h | 15 template<typename XprType,typename StorageKind> class InverseImpl; 19 template<typename XprType> 20 struct traits<Inverse<XprType> > 21 : traits<typename XprType::PlainObject> 23 typedef typename XprType::PlainObject PlainObject; 42 template<typename XprType> 43 class Inverse : public InverseImpl<XprType,typename internal::traits<XprType>::StorageKind> 46 typedef typename XprType::StorageIndex StorageIndex; 47 typedef typename XprType::PlainObject PlainObject; 48 typedef typename XprType::Scalar Scalar; [all …]
|
D | CwiseUnaryOp.h | 17 template<typename UnaryOp, typename XprType> 18 struct traits<CwiseUnaryOp<UnaryOp, XprType> > 19 : traits<XprType> 22 UnaryOp(const typename XprType::Scalar&) 24 typedef typename XprType::Nested XprTypeNested; 32 template<typename UnaryOp, typename XprType, typename StorageKind> 54 template<typename UnaryOp, typename XprType> 55 class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::… 59 …typedef typename CwiseUnaryOpImpl<UnaryOp, XprType,typename internal::traits<XprType>::StorageKind… 61 typedef typename internal::ref_selector<XprType>::type XprTypeNested; [all …]
|
D | CoreIterators.h | 20 template<typename XprType, typename EvaluatorKind> 32 template<typename XprType> 36 …typedef internal::inner_iterator_selector<XprType, typename internal::evaluator_traits<XprType>::K… 37 typedef internal::evaluator<XprType> EvaluatorType; 38 typedef typename internal::traits<XprType>::Scalar Scalar; 41 InnerIterator(const XprType &xpr, const Index &outerId) in InnerIterator() 73 template<typename XprType> 74 class inner_iterator_selector<XprType, IndexBased> 77 typedef evaluator<XprType> EvaluatorType; 78 typedef typename traits<XprType>::Scalar Scalar; [all …]
|
D | CoreEvaluators.h | 239 typedef Matrix<Scalar, Rows, Cols, Options, MaxRows, MaxCols> XprType; 243 EIGEN_DEVICE_FUNC explicit evaluator(const XprType& m) 244 : evaluator<PlainObjectBase<XprType> >(m) 252 typedef Array<Scalar, Rows, Cols, Options, MaxRows, MaxCols> XprType; 256 EIGEN_DEVICE_FUNC explicit evaluator(const XprType& m) 257 : evaluator<PlainObjectBase<XprType> >(m) 267 typedef Transpose<ArgType> XprType; 275 EIGEN_DEVICE_FUNC explicit unary_evaluator(const XprType& t) : m_argImpl(t.nestedExpression()) {} 277 typedef typename XprType::Scalar Scalar; 278 typedef typename XprType::CoeffReturnType CoeffReturnType; [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorArgMax.h | 24 template<typename XprType> 25 struct traits<TensorIndexTupleOp<XprType> > : public traits<XprType> 27 typedef traits<XprType> XprTraits; 31 typedef typename XprType::Nested Nested; 37 template<typename XprType> 38 struct eval<TensorIndexTupleOp<XprType>, Eigen::Dense> 40 typedef const TensorIndexTupleOp<XprType>& type; 43 template<typename XprType> 44 struct nested<TensorIndexTupleOp<XprType>, 1, 45 typename eval<TensorIndexTupleOp<XprType> >::type> [all …]
|
D | TensorLayoutSwap.h | 38 template<typename XprType> 39 struct traits<TensorLayoutSwapOp<XprType> > : public traits<XprType> 41 typedef typename XprType::Scalar Scalar; 42 typedef traits<XprType> XprTraits; 45 typedef typename XprType::Nested Nested; 47 static const int NumDimensions = traits<XprType>::NumDimensions; 48 static const int Layout = (traits<XprType>::Layout == ColMajor) ? RowMajor : ColMajor; 51 template<typename XprType> 52 struct eval<TensorLayoutSwapOp<XprType>, Eigen::Dense> 54 typedef const TensorLayoutSwapOp<XprType>& type; [all …]
|
D | TensorForwardDeclarations.h | 32 template<typename UnaryOp, typename XprType> class TensorCwiseUnaryOp; 36 template<typename Op, typename Dims, typename XprType, template <class> class MakePointer_ = MakePo… 37 template<typename XprType> class TensorIndexTupleOp; 38 template<typename ReduceOp, typename Dims, typename XprType> class TensorTupleReducerOp; 41 template<typename TargetType, typename XprType> class TensorConversionOp; 43 template<typename FFT, typename XprType, int FFTDataType, int FFTDirection> class TensorFFTOp; 44 template<typename PatchDim, typename XprType> class TensorPatchOp; 45 template<DenseIndex Rows, DenseIndex Cols, typename XprType> class TensorImagePatchOp; 46 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType> class TensorVolumeP… 47 template<typename Broadcast, typename XprType> class TensorBroadcastingOp; [all …]
|
D | TensorForcedEval.h | 29 template<typename XprType, template <class> class MakePointer_> 30 struct traits<TensorForcedEvalOp<XprType, MakePointer_> > 33 typedef typename XprType::Scalar Scalar; 34 typedef traits<XprType> XprTraits; 35 typedef typename traits<XprType>::StorageKind StorageKind; 36 typedef typename traits<XprType>::Index Index; 37 typedef typename XprType::Nested Nested; 52 template<typename XprType, template <class> class MakePointer_> 53 struct eval<TensorForcedEvalOp<XprType, MakePointer_>, Eigen::Dense> 55 typedef const TensorForcedEvalOp<XprType, MakePointer_>& type; [all …]
|
D | TensorGenerator.h | 23 template<typename Generator, typename XprType> 24 struct traits<TensorGeneratorOp<Generator, XprType> > : public traits<XprType> 26 typedef typename XprType::Scalar Scalar; 27 typedef traits<XprType> XprTraits; 30 typedef typename XprType::Nested Nested; 36 template<typename Generator, typename XprType> 37 struct eval<TensorGeneratorOp<Generator, XprType>, Eigen::Dense> 39 typedef const TensorGeneratorOp<Generator, XprType>& type; 42 template<typename Generator, typename XprType> 43 struct nested<TensorGeneratorOp<Generator, XprType>, 1, typename eval<TensorGeneratorOp<Generator, … [all …]
|
D | TensorEvalTo.h | 23 template<typename XprType, template <class> class MakePointer_> 24 struct traits<TensorEvalToOp<XprType, MakePointer_> > 27 typedef typename XprType::Scalar Scalar; 28 typedef traits<XprType> XprTraits; 31 typedef typename XprType::Nested Nested; 47 template<typename XprType, template <class> class MakePointer_> 48 struct eval<TensorEvalToOp<XprType, MakePointer_>, Eigen::Dense> 50 typedef const TensorEvalToOp<XprType, MakePointer_>& type; 53 template<typename XprType, template <class> class MakePointer_> 54 struct nested<TensorEvalToOp<XprType, MakePointer_>, 1, typename eval<TensorEvalToOp<XprType, MakeP… [all …]
|
D | TensorShuffling.h | 23 template<typename Shuffle, typename XprType> 24 struct traits<TensorShufflingOp<Shuffle, XprType> > : public traits<XprType> 26 typedef typename XprType::Scalar Scalar; 27 typedef traits<XprType> XprTraits; 30 typedef typename XprType::Nested Nested; 36 template<typename Shuffle, typename XprType> 37 struct eval<TensorShufflingOp<Shuffle, XprType>, Eigen::Dense> 39 typedef const TensorShufflingOp<Shuffle, XprType>& type; 42 template<typename Shuffle, typename XprType> 43 struct nested<TensorShufflingOp<Shuffle, XprType>, 1, typename eval<TensorShufflingOp<Shuffle, XprT… [all …]
|
D | TensorReverse.h | 22 template<typename ReverseDimensions, typename XprType> 24 XprType> > : public traits<XprType> 26 typedef typename XprType::Scalar Scalar; 27 typedef traits<XprType> XprTraits; 30 typedef typename XprType::Nested Nested; 36 template<typename ReverseDimensions, typename XprType> 37 struct eval<TensorReverseOp<ReverseDimensions, XprType>, Eigen::Dense> 39 typedef const TensorReverseOp<ReverseDimensions, XprType>& type; 42 template<typename ReverseDimensions, typename XprType> 43 struct nested<TensorReverseOp<ReverseDimensions, XprType>, 1, [all …]
|
D | TensorMorphing.h | 23 template<typename NewDimensions, typename XprType> 24 struct traits<TensorReshapingOp<NewDimensions, XprType> > : public traits<XprType> 26 typedef typename XprType::Scalar Scalar; 27 typedef traits<XprType> XprTraits; 30 typedef typename XprType::Nested Nested; 36 template<typename NewDimensions, typename XprType> 37 struct eval<TensorReshapingOp<NewDimensions, XprType>, Eigen::Dense> 39 typedef const TensorReshapingOp<NewDimensions, XprType>& type; 42 template<typename NewDimensions, typename XprType> 43 …ct nested<TensorReshapingOp<NewDimensions, XprType>, 1, typename eval<TensorReshapingOp<NewDimensi… [all …]
|
D | TensorCustomOp.h | 23 template<typename CustomUnaryFunc, typename XprType> 24 struct traits<TensorCustomUnaryOp<CustomUnaryFunc, XprType> > 26 typedef typename XprType::Scalar Scalar; 27 typedef typename XprType::StorageKind StorageKind; 28 typedef typename XprType::Index Index; 29 typedef typename XprType::Nested Nested; 31 static const int NumDimensions = traits<XprType>::NumDimensions; 32 static const int Layout = traits<XprType>::Layout; 35 template<typename CustomUnaryFunc, typename XprType> 36 struct eval<TensorCustomUnaryOp<CustomUnaryFunc, XprType>, Eigen::Dense> [all …]
|
D | TensorInflation.h | 23 template<typename Strides, typename XprType> 24 struct traits<TensorInflationOp<Strides, XprType> > : public traits<XprType> 26 typedef typename XprType::Scalar Scalar; 27 typedef traits<XprType> XprTraits; 30 typedef typename XprType::Nested Nested; 36 template<typename Strides, typename XprType> 37 struct eval<TensorInflationOp<Strides, XprType>, Eigen::Dense> 39 typedef const TensorInflationOp<Strides, XprType>& type; 42 template<typename Strides, typename XprType> 43 struct nested<TensorInflationOp<Strides, XprType>, 1, typename eval<TensorInflationOp<Strides, XprT… [all …]
|
D | TensorStriding.h | 23 template<typename Strides, typename XprType> 24 struct traits<TensorStridingOp<Strides, XprType> > : public traits<XprType> 26 typedef typename XprType::Scalar Scalar; 27 typedef traits<XprType> XprTraits; 30 typedef typename XprType::Nested Nested; 36 template<typename Strides, typename XprType> 37 struct eval<TensorStridingOp<Strides, XprType>, Eigen::Dense> 39 typedef const TensorStridingOp<Strides, XprType>& type; 42 template<typename Strides, typename XprType> 43 struct nested<TensorStridingOp<Strides, XprType>, 1, typename eval<TensorStridingOp<Strides, XprTyp… [all …]
|
D | TensorExpr.h | 31 template<typename NullaryOp, typename XprType> 32 struct traits<TensorCwiseNullaryOp<NullaryOp, XprType> > 33 : traits<XprType> 35 typedef traits<XprType> XprTraits; 36 typedef typename XprType::Scalar Scalar; 37 typedef typename XprType::Nested XprTypeNested; 51 template<typename NullaryOp, typename XprType> 52 class TensorCwiseNullaryOp : public TensorBase<TensorCwiseNullaryOp<NullaryOp, XprType>, ReadOnlyAc… 57 typedef typename XprType::CoeffReturnType CoeffReturnType; 58 typedef TensorCwiseNullaryOp<NullaryOp, XprType> Nested; [all …]
|
D | TensorPatch.h | 23 template<typename PatchDim, typename XprType> 24 struct traits<TensorPatchOp<PatchDim, XprType> > : public traits<XprType> 26 typedef typename XprType::Scalar Scalar; 27 typedef traits<XprType> XprTraits; 30 typedef typename XprType::Nested Nested; 36 template<typename PatchDim, typename XprType> 37 struct eval<TensorPatchOp<PatchDim, XprType>, Eigen::Dense> 39 typedef const TensorPatchOp<PatchDim, XprType>& type; 42 template<typename PatchDim, typename XprType> 43 struct nested<TensorPatchOp<PatchDim, XprType>, 1, typename eval<TensorPatchOp<PatchDim, XprType> >… [all …]
|
D | TensorScan.h | 17 template <typename Op, typename XprType> 18 struct traits<TensorScanOp<Op, XprType> > 19 : public traits<XprType> { 20 typedef typename XprType::Scalar Scalar; 21 typedef traits<XprType> XprTraits; 23 typedef typename XprType::Nested Nested; 29 template<typename Op, typename XprType> 30 struct eval<TensorScanOp<Op, XprType>, Eigen::Dense> 32 typedef const TensorScanOp<Op, XprType>& type; 35 template<typename Op, typename XprType> [all …]
|
D | TensorChipping.h | 24 template<DenseIndex DimId, typename XprType> 25 struct traits<TensorChippingOp<DimId, XprType> > : public traits<XprType> 27 typedef typename XprType::Scalar Scalar; 28 typedef traits<XprType> XprTraits; 31 typedef typename XprType::Nested Nested; 37 template<DenseIndex DimId, typename XprType> 38 struct eval<TensorChippingOp<DimId, XprType>, Eigen::Dense> 40 typedef const TensorChippingOp<DimId, XprType>& type; 43 template<DenseIndex DimId, typename XprType> 44 struct nested<TensorChippingOp<DimId, XprType>, 1, typename eval<TensorChippingOp<DimId, XprType> >… [all …]
|
D | TensorConversion.h | 23 template<typename TargetType, typename XprType> 24 struct traits<TensorConversionOp<TargetType, XprType> > 28 typedef typename traits<XprType>::StorageKind StorageKind; 29 typedef typename traits<XprType>::Index Index; 30 typedef typename XprType::Nested Nested; 32 static const int NumDimensions = traits<XprType>::NumDimensions; 33 static const int Layout = traits<XprType>::Layout; 37 template<typename TargetType, typename XprType> 38 struct eval<TensorConversionOp<TargetType, XprType>, Eigen::Dense> 40 typedef const TensorConversionOp<TargetType, XprType>& type; [all …]
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseCwiseBinaryOp.h | 57 template<typename XprType> struct binary_sparse_evaluator; 66 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType; 67 typedef typename traits<XprType>::Scalar Scalar; 68 typedef typename XprType::StorageIndex StorageIndex; 130 Flags = XprType::Flags 133 explicit binary_evaluator(const XprType& xpr) 159 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType; 160 typedef typename traits<XprType>::Scalar Scalar; 161 typedef typename XprType::StorageIndex StorageIndex; 216 Flags = (XprType::Flags & ~RowMajorBit) | (int(Rhs::Flags)&RowMajorBit) [all …]
|
/external/eigen/unsupported/Eigen/ |
D | OpenGLSupport | 50 …template< typename XprType, … 51 …typename Scalar = typename XprType::Scalar, … 52 …int Rows = XprType::RowsAtCompileTime, … 53 …int Cols = XprType::ColsAtCompileTime, … 54 …bool IsGLCompatible = bool(internal::evaluator<XprType>::Flags&LinearAccessBit) … 55 … && bool(XprType::Flags&DirectAccessBit) \ 56 … && (XprType::IsVectorAtCompileTime || (XprType::Flags&RowMajorBit)==0)> \ 59 …template<typename XprType, typename Scalar, int Rows, int Cols> … 60 …struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl)<XprType,Scalar,Rows,Cols,false> { … 61 …inline static void run(const XprType& p) { … [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | fused_eigen_output_kernels.h | 76 template <typename XprType> 77 static auto apply(XprType expr) -> XprType { 84 template <typename XprType> 85 static auto apply(XprType expr) 86 -> decltype(expr.cwiseMax(std::declval<typename XprType::Scalar>())) { 87 return expr.cwiseMax(static_cast<typename XprType::Scalar>(0)); 93 template <typename XprType> 94 static auto apply(XprType expr) 95 -> decltype(expr.cwiseMax(std::declval<typename XprType::Scalar>()) 96 .cwiseMin(std::declval<typename XprType::Scalar>())) { [all …]
|