Home
last modified time | relevance | path

Searched refs:AddCost (Results 1 – 25 of 54) sorted by relevance

123

/external/eigen/unsupported/Eigen/src/SpecialFunctions/
DSpecialFunctionsFunctors.h39 Cost = 20 * NumTraits<Scalar>::MulCost + 10 * NumTraits<Scalar>::AddCost,
66 Cost = 20 * NumTraits<Scalar>::MulCost + 10 * NumTraits<Scalar>::AddCost,
91 Cost = 400 * NumTraits<Scalar>::MulCost + 400 * NumTraits<Scalar>::AddCost,
115 Cost = 10 * NumTraits<Scalar>::MulCost + 5 * NumTraits<Scalar>::AddCost,
137 Cost = 10 * NumTraits<Scalar>::MulCost + 5 * NumTraits<Scalar>::AddCost,
159 Cost = 10 * NumTraits<Scalar>::MulCost + 5 * NumTraits<Scalar>::AddCost,
181 Cost = 10 * NumTraits<Scalar>::MulCost + 5 * NumTraits<Scalar>::AddCost,
204 Cost = 10 * NumTraits<Scalar>::MulCost + 5 * NumTraits<Scalar>::AddCost,
227 Cost = 10 * NumTraits<Scalar>::MulCost + 5 * NumTraits<Scalar>::AddCost,
/external/eigen/Eigen/src/Core/
DNumTraits.h96 AddCost = 1,
181 AddCost = 2 * NumTraits<Real>::AddCost,
182 MulCost = 4 * NumTraits<Real>::MulCost + 2 * NumTraits<Real>::AddCost
210AddCost = ArrayType::SizeAtCompileTime==Dynamic ? HugeCost : ArrayType::SizeAtCompileTime * NumTr…
228 AddCost = HugeCost,
DVectorwiseOp.h99 …MBER_FUNCTOR(squaredNorm, Size * NumTraits<Scalar>::MulCost + (Size-1)*NumTraits<Scalar>::AddCost);
100 …_MEMBER_FUNCTOR(norm, (Size+5) * NumTraits<Scalar>::MulCost + (Size-1)*NumTraits<Scalar>::AddCost);
101 …R_FUNCTOR(stableNorm, (Size+5) * NumTraits<Scalar>::MulCost + (Size-1)*NumTraits<Scalar>::AddCost);
102 …BER_FUNCTOR(blueNorm, (Size+5) * NumTraits<Scalar>::MulCost + (Size-1)*NumTraits<Scalar>::AddCost);
104 EIGEN_MEMBER_FUNCTOR(sum, (Size-1)*NumTraits<Scalar>::AddCost);
105 EIGEN_MEMBER_FUNCTOR(mean, (Size-1)*NumTraits<Scalar>::AddCost + NumTraits<Scalar>::MulCost);
106 EIGEN_MEMBER_FUNCTOR(minCoeff, (Size-1)*NumTraits<Scalar>::AddCost);
107 EIGEN_MEMBER_FUNCTOR(maxCoeff, (Size-1)*NumTraits<Scalar>::AddCost);
108 EIGEN_MEMBER_FUNCTOR(all, (Size-1)*NumTraits<Scalar>::AddCost);
109 EIGEN_MEMBER_FUNCTOR(any, (Size-1)*NumTraits<Scalar>::AddCost);
[all …]
DBooleanRedux.h86 …&& SizeAtCompileTime * (Evaluator::CoeffReadCost + NumTraits<Scalar>::AddCost) <= EIGEN_UNROLLING_…
110 …&& SizeAtCompileTime * (Evaluator::CoeffReadCost + NumTraits<Scalar>::AddCost) <= EIGEN_UNROLLING_…
DVisitor.h163 Cost = NumTraits<Scalar>::AddCost
191 Cost = NumTraits<Scalar>::AddCost
/external/eigen/Eigen/src/Core/functors/
DBinaryFunctors.h53 Cost = (NumTraits<LhsScalar>::AddCost+NumTraits<RhsScalar>::AddCost)/2, // rough estimate!
155 Cost = (NumTraits<LhsScalar>::AddCost+NumTraits<RhsScalar>::AddCost)/2,
181 Cost = (NumTraits<LhsScalar>::AddCost+NumTraits<RhsScalar>::AddCost)/2,
195 Cost = (NumTraits<LhsScalar>::AddCost+NumTraits<RhsScalar>::AddCost)/2,
288 Cost = 3 * NumTraits<Scalar>::AddCost +
347 Cost = (NumTraits<LhsScalar>::AddCost+NumTraits<RhsScalar>::AddCost)/2,
395 Cost = NumTraits<bool>::AddCost,
411 Cost = NumTraits<bool>::AddCost,
427 Cost = NumTraits<bool>::AddCost,
DUnaryFunctors.h38 Cost = NumTraits<Scalar>::AddCost,
65 Cost = NumTraits<Scalar>::AddCost,
156 Cost = NumTraits<Scalar>::IsComplex ? NumTraits<Scalar>::AddCost : 0,
185 : NumTraits<Scalar>::AddCost,
206 Cost = is_same<Scalar, NewType>::value ? 0 : NumTraits<NewType>::AddCost,
315 ? (8 * NumTraits<Scalar>::AddCost + 6 * NumTraits<Scalar>::MulCost)
317 : (14 * NumTraits<Scalar>::AddCost +
324 ? (21 * NumTraits<Scalar>::AddCost +
327 : (23 * NumTraits<Scalar>::AddCost +
360 ? (20 * NumTraits<Scalar>::AddCost +
[all …]
DStlFunctors.h29 { enum { Cost = NumTraits<T>::AddCost, PacketAccess = false }; };
33 { enum { Cost = NumTraits<T>::AddCost, PacketAccess = false }; };
37 { enum { Cost = NumTraits<T>::AddCost, PacketAccess = false }; };
DAssignmentFunctors.h58 Cost = NumTraits<DstScalar>::ReadCost + NumTraits<DstScalar>::AddCost,
79 Cost = NumTraits<DstScalar>::ReadCost + NumTraits<DstScalar>::AddCost,
/external/tensorflow/tensorflow/core/kernels/
Deigen_activations.h50 Cost = NumTraits<T>::AddCost * 2 + NumTraits<T>::MulCost,
84 Cost = NumTraits<T>::AddCost * 2 + NumTraits<T>::MulCost * 1,
115 Cost = NumTraits<Scalar>::AddCost * 3,
Dparameterized_truncated_normal_op.cc279 (Eigen::TensorOpCost::AddCost<T>() + in operator ()()
283 + Eigen::TensorOpCost::AddCost<T>() + in operator ()()
291 + Eigen::TensorOpCost::AddCost<T>(); in operator ()()
298 Eigen::TensorOpCost::AddCost<T>() + in operator ()()
300 Eigen::TensorOpCost::AddCost<T>() + uniformSampleCost + in operator ()()
303 Eigen::TensorOpCost::MulCost<T>() + Eigen::TensorOpCost::AddCost<T>(); in operator ()()
570 (Eigen::TensorOpCost::AddCost<T>() + in operator ()()
574 + Eigen::TensorOpCost::AddCost<T>() + in operator ()()
582 + Eigen::TensorOpCost::AddCost<T>(); in operator ()()
589 Eigen::TensorOpCost::AddCost<T>() + in operator ()()
[all …]
Dcwise_ops_gradients.h44 Cost = NumTraits<T>::AddCost + 2 * NumTraits<T>::MulCost,
67 Cost = NumTraits<T>::AddCost + 2 * NumTraits<T>::MulCost,
96 Cost = NumTraits<T>::AddCost + 2 * NumTraits<T>::MulCost,
Dtopk_op.cc212 const double cmp_cost = 3 * Eigen::TensorOpCost::AddCost<int32>() + in Compute()
213 Eigen::TensorOpCost::AddCost<T>(); in Compute()
219 const double copy_cost = 2 * k * Eigen::TensorOpCost::AddCost<T>(); in Compute()
Dcwise_ops.h145 Cost = functor_traits<DivOrMod>::Cost + NumTraits<T>::AddCost,
178 Cost = functor_traits<scalar_quotient_op<T>>::Cost + NumTraits<T>::AddCost,
191 Cost = functor_traits<scalar_product_op<T>>::Cost + NumTraits<T>::AddCost,
443 NumTraits<Scalar>::AddCost,
466 2 * NumTraits<Scalar>::AddCost,
488 NumTraits<Scalar>::AddCost,
509 NumTraits<Scalar>::AddCost,
586 : 4 * NumTraits<Scalar>::AddCost,
624 Cost = IsInteger ? 0 : 4 * NumTraits<Scalar>::AddCost,
648 enum { Cost = Eigen::NumTraits<Scalar>::AddCost, PacketAccess = true };
[all …]
Dcompare_and_bitpack_op.cc153 const double total_cost = 8 * (Eigen::TensorOpCost::AddCost<T>() + in operator ()()
154 Eigen::TensorOpCost::AddCost<uint8>()); in operator ()()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorFunctors.h80 Cost = NumTraits<T>::AddCost * 2 + NumTraits<T>::MulCost * 6,
135 Cost = NumTraits<T>::AddCost,
189 Cost = NumTraits<T>::AddCost,
256 Cost = NumTraits<T>::AddCost,
297 Cost = NumTraits<T>::AddCost,
417 Cost = NumTraits<T>::AddCost,
442 Cost = NumTraits<T>::AddCost,
479 Cost = NumDims * (2 * NumTraits<T>::AddCost + NumTraits<T>::MulCost +
DTensorRandom.h184 Cost = 12 * NumTraits<Scalar>::AddCost *
266 15 * NumTraits<Scalar>::AddCost + 8 * NumTraits<Scalar>::AddCost +
DTensorBroadcasting.h353 double compute_cost = TensorOpCost::AddCost<Index>();
359 TensorOpCost::MulCost<Index>() + TensorOpCost::AddCost<Index>();
364 TensorOpCost::AddCost<Index>();
368 TensorOpCost::MulCost<Index>() + TensorOpCost::AddCost<Index>();
DTensorPadding.h246 cost += TensorOpCost(0, 0, 2 * TensorOpCost::AddCost<Index>() +
247 reduction * (1 * TensorOpCost::AddCost<Index>()));
249 cost += TensorOpCost(0, 0, 2 * TensorOpCost::AddCost<Index>() +
DTensorChipping.h251 cost += TensorOpCost::MulCost<Index>() + TensorOpCost::AddCost<Index>();
256 cost += TensorOpCost::AddCost<Index>();
259 3 * TensorOpCost::AddCost<Index>();
DTensorReverse.h213 double compute_cost = NumDims * (2 * TensorOpCost::AddCost<Index>() +
218 compute_cost += 2 * TensorOpCost::AddCost<Index>();
/external/eigen/Eigen/src/Core/arch/CUDA/
DTypeCasting.h32 { enum { Cost = NumTraits<float>::AddCost, PacketAccess = false }; };
50 { enum { Cost = NumTraits<float>::AddCost, PacketAccess = false }; };
68 { enum { Cost = NumTraits<float>::AddCost, PacketAccess = false }; };
/external/tensorflow/tensorflow/core/kernels/image/
Dcrop_and_resize_op.cc328 depth * (Eigen::TensorOpCost::AddCost<float>() * 6 + in operator ()()
331 (Eigen::TensorOpCost::AddCost<float>() * 2 + in operator ()()
332 Eigen::TensorOpCost::AddCost<float>() * 3); in operator ()()
335 Eigen::TensorOpCost::AddCost<float>() * 4 + in operator ()()
536 ? depth * (Eigen::TensorOpCost::AddCost<float>() * 7 + in operator ()()
539 Eigen::TensorOpCost::AddCost<float>() * 4 in operator ()()
540 : depth * (Eigen::TensorOpCost::AddCost<float>() + in operator ()()
542 Eigen::TensorOpCost::AddCost<float>() * 3); in operator ()()
/external/tensorflow/tensorflow/core/framework/
Dnumeric_types.h61 AddCost = HugeCost,
/external/eigen/doc/
DCustomizingEigen_CustomScalar.dox42 AddCost = 3,
86 AddCost = 150,

123