/external/eigen/Eigen/src/Core/functors/ |
D | NullaryFunctors.h | 18 struct scalar_constant_op { struct 19 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE scalar_constant_op(const scalar_constant_op& other) : m_othe… in scalar_constant_op() argument 20 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE scalar_constant_op(const Scalar& other) : m_other(other) { } in scalar_constant_op() function 27 struct functor_traits<scalar_constant_op<Scalar> > argument 156 struct has_nullary_operator<scalar_constant_op<Scalar>,IndexType> { enum { value = 1}; }; 158 struct has_unary_operator<scalar_constant_op<Scalar>,IndexType> { enum { value = 0}; }; 160 struct has_binary_operator<scalar_constant_op<Scalar>,IndexType> { enum { value = 0}; };
|
/external/eigen/test/ |
D | nullary.cpp | 264 VERIFY(( internal::has_nullary_operator<internal::scalar_constant_op<double> >::value )); in test_nullary() 265 VERIFY(( !internal::has_unary_operator<internal::scalar_constant_op<double> >::value )); in test_nullary() 266 VERIFY(( !internal::has_binary_operator<internal::scalar_constant_op<double> >::value )); in test_nullary() 267 VERIFY(( internal::functor_has_linear_access<internal::scalar_constant_op<double> >::ret )); in test_nullary() 293 VERIFY(( internal::has_nullary_operator<internal::scalar_constant_op<float> >::value )); in test_nullary() 294 VERIFY(( !internal::has_unary_operator<internal::scalar_constant_op<float> >::value )); in test_nullary() 295 VERIFY(( !internal::has_binary_operator<internal::scalar_constant_op<float> >::value )); in test_nullary() 296 VERIFY(( internal::functor_has_linear_access<internal::scalar_constant_op<float> >::ret )); in test_nullary()
|
/external/eigen/Eigen/src/plugins/ |
D | ArrayCwiseBinaryOps.h | 41 … const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, PlainObject> > in EIGEN_MAKE_CWISE_BINARY_OP() 67 … const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, PlainObject> > in EIGEN_MAKE_CWISE_BINARY_OP() 115 …cmp_ ## COMPARATOR>, const Derived, const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, Pla… 116 …lar, internal::cmp_ ## COMPARATOR>, const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, Pla…
|
/external/eigen/Eigen/src/Core/util/ |
D | BlasUtil.h | 310 struct blas_traits<CwiseBinaryOp<scalar_product_op<Scalar>, const CwiseNullaryOp<scalar_constant_op… 314 …typedef CwiseBinaryOp<scalar_product_op<Scalar>, const CwiseNullaryOp<scalar_constant_op<Scalar>,P… 321 …inaryOp<scalar_product_op<Scalar>, NestedXpr, const CwiseNullaryOp<scalar_constant_op<Scalar>,Plai… 325 …inaryOp<scalar_product_op<Scalar>, NestedXpr, const CwiseNullaryOp<scalar_constant_op<Scalar>,Plai… 332 struct blas_traits<CwiseBinaryOp<scalar_product_op<Scalar>, const CwiseNullaryOp<scalar_constant_op… 333 … const CwiseNullaryOp<scalar_constant_op<Scalar>,Plain2> > > 334 : blas_traits<CwiseNullaryOp<scalar_constant_op<Scalar>,Plain1> >
|
D | Macros.h | 944 …ved,PromotedT>::type(derived().rows(), derived().cols(), internal::scalar_constant_op<PromotedT>(s… 953 …::type(matrix.derived().rows(), matrix.derived().cols(), internal::scalar_constant_op<PromotedT>(s…
|
D | ForwardDeclarations.h | 203 template<typename Scalar> struct scalar_constant_op;
|
D | XprHelper.h | 635 …typedef CwiseNullaryOp<scalar_constant_op<Scalar>, const typename conditional<is_same< typename tr…
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorBase.h | 45 …EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> 47 return nullaryExpr(internal::scalar_constant_op<Scalar>(value)); in constant() 291 …ax_op<Scalar>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, con… 297 …in_op<Scalar>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, con… 424 …rnal::cmp_LT>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, con… 429 …rnal::cmp_LE>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, con… 434 …rnal::cmp_GT>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, con… 439 …rnal::cmp_GE>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, con… 444 …rnal::cmp_EQ>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, con… 449 …nal::cmp_NEQ>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, con…
|
/external/eigen/Eigen/src/Core/ |
D | Assign_MKL.h | 143 …const CwiseNullaryOp<internal::scalar_constant_op<EIGENTYPE>,Plain> >, assign_op<EIGENTYPE,EIGENTY… 146 …const CwiseNullaryOp<internal::scalar_constant_op<EIGENTYPE>,Plain> > SrcXprType; …
|
D | CwiseNullaryOp.h | 176 return DenseBase<Derived>::NullaryExpr(rows, cols, internal::scalar_constant_op<Scalar>(value)); 198 return DenseBase<Derived>::NullaryExpr(size, internal::scalar_constant_op<Scalar>(value)); 215 …ived>::NullaryExpr(RowsAtCompileTime, ColsAtCompileTime, internal::scalar_constant_op<Scalar>(valu…
|
D | ArrayBase.h | 86 typedef CwiseNullaryOp<internal::scalar_constant_op<Scalar>,PlainObject> ConstantReturnType;
|
D | ProductEvaluators.h | 42 … const CwiseNullaryOp<internal::scalar_constant_op<Scalar1>, Plain1>, 49 const CwiseNullaryOp<internal::scalar_constant_op<Scalar1>, Plain1>, 54 const CwiseNullaryOp<internal::scalar_constant_op<Scalar1>, Plain1>, 187 …calar_product_op<ScalarBis,Scalar>, const CwiseNullaryOp<internal::scalar_constant_op<ScalarBis>,P… 191 const CwiseNullaryOp<internal::scalar_constant_op<ScalarBis>,Plain>,
|
D | MatrixBase.h | 107 typedef CwiseNullaryOp<internal::scalar_constant_op<Scalar>,PlainObject> ConstantReturnType;
|
D | DenseBase.h | 262 typedef CwiseNullaryOp<internal::scalar_constant_op<Scalar>,PlainObject> ConstantReturnType;
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | optimize.cc | 799 auto scalar_constant_op = rewriter.create<ConstantOp>( in matchAndRewrite() local 803 binary_op.setOperand(kSplatOperandIndex, scalar_constant_op); in matchAndRewrite()
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseMatrixBase.h | 130 …typedef CwiseNullaryOp<internal::scalar_constant_op<Scalar>,Matrix<Scalar,Dynamic,Dynamic> > Const…
|