Home
last modified time | relevance | path

Searched refs:evaluator (Results 1 – 25 of 107) sorted by relevance

12345

/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorExecutor.h34 TensorEvaluator<Expression, Device> evaluator(expr, device);
35 const bool needs_assign = evaluator.evalSubExprsIfNeeded(NULL);
38 const Index size = array_prod(evaluator.dimensions());
40 evaluator.evalScalar(i);
43 evaluator.cleanup();
56 TensorEvaluator<Expression, DefaultDevice> evaluator(expr, device);
57 const bool needs_assign = evaluator.evalSubExprsIfNeeded(NULL);
60 const Index size = array_prod(evaluator.dimensions());
68 evaluator.evalPacket(i + j * PacketSize);
73 evaluator.evalPacket(i);
[all …]
DTensorSyclRun.h34 Eigen::TensorEvaluator<Expr, Dev> evaluator(expr, dev); in run()
35 const bool needs_assign = evaluator.evalSubExprsIfNeeded(NULL); in run()
38 auto functors = internal::extractFunctors(evaluator); in run()
44 … auto tuple_of_accessors = internal::createTupleOfAccessors<decltype(evaluator)>(cgh, evaluator); in run()
65 evaluator.cleanup(); in run()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_creation_utils_test.cc73 HloEvaluator evaluator; in TEST_F() local
76 evaluator.Evaluate(*module, {LiteralUtil::CreateR1<int32>({3, 4})})); in TEST_F()
92 HloEvaluator evaluator; in TEST_F() local
95 evaluator.Evaluate(*module, {LiteralUtil::CreateR3<int32>( in TEST_F()
115 HloEvaluator evaluator; in TEST_F() local
118 evaluator.Evaluate(*module, {LiteralUtil::CreateR1<int32>({9, 10})})); in TEST_F()
134 HloEvaluator evaluator; in TEST_F() local
137 evaluator.Evaluate(*module, {LiteralUtil::CreateR1<int32>({9, 10})})); in TEST_F()
153 HloEvaluator evaluator; in TEST_F() local
156 evaluator.Evaluate(*module, {LiteralUtil::CreateR0<int32>(9)})); in TEST_F()
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Devaluator_test.py22 from tensorflow.python.debug.cli import evaluator
32 evaluator._parse_debug_tensor_name("foo:1"))
40 evaluator._parse_debug_tensor_name("hidden_0/Weights:0"))
49 evaluator._parse_debug_tensor_name("foo:1:DebugNanCount"))
57 evaluator._parse_debug_tensor_name(
67 evaluator._parse_debug_tensor_name(
76 evaluator._parse_debug_tensor_name(
86 evaluator._parse_debug_tensor_name(
95 evaluator._parse_debug_tensor_name(
109 evaluator._parse_debug_tensor_name(
[all …]
/external/eigen/Eigen/src/Core/
DCoreEvaluators.h90 struct evaluator : public unary_evaluator<T>
93 EIGEN_DEVICE_FUNC explicit evaluator(const T& xpr) : Base(xpr) {}
99 struct evaluator<const T>
100 : evaluator<T>
103 explicit evaluator(const T& xpr) : evaluator<T>(xpr) {}
127 struct evaluator<PlainObjectBase<Derived> >
145 EIGEN_DEVICE_FUNC evaluator()
154 EIGEN_DEVICE_FUNC explicit evaluator(const PlainObjectType& m)
236 struct evaluator<Matrix<Scalar, Rows, Cols, Options, MaxRows, MaxCols> >
237 : evaluator<PlainObjectBase<Matrix<Scalar, Rows, Cols, Options, MaxRows, MaxCols> > >
[all …]
DBooleanRedux.h83 typedef internal::evaluator<Derived> Evaluator;
88 Evaluator evaluator(derived());
90 …eturn internal::all_unroller<Evaluator, unroll ? int(SizeAtCompileTime) : Dynamic>::run(evaluator);
95 if (!evaluator.coeff(i, j)) return false;
107 typedef internal::evaluator<Derived> Evaluator;
112 Evaluator evaluator(derived());
114 …eturn internal::any_unroller<Evaluator, unroll ? int(SizeAtCompileTime) : Dynamic>::run(evaluator);
119 if (evaluator.coeff(i, j)) return true;
DCoreIterators.h37 typedef internal::evaluator<XprType> EvaluatorType;
77 typedef evaluator<XprType> EvaluatorType;
111 : public evaluator<XprType>::InnerIterator
114 typedef typename evaluator<XprType>::InnerIterator Base;
115 typedef evaluator<XprType> EvaluatorType;
DDenseCoeffsBase.h100 return internal::evaluator<Derived>(derived()).coeff(row,col); in coeff()
141 EIGEN_STATIC_ASSERT(internal::evaluator<Derived>::Flags & LinearAccessBit, in coeff()
144 return internal::evaluator<Derived>(derived()).coeff(index); in coeff()
235 …return internal::evaluator<Derived>(derived()).template packet<LoadMode,DefaultPacketType>(row,col… in packet()
260 EIGEN_STATIC_ASSERT(internal::evaluator<Derived>::Flags & LinearAccessBit, in packet()
264 … return internal::evaluator<Derived>(derived()).template packet<LoadMode,DefaultPacketType>(index); in packet()
344 return internal::evaluator<Derived>(derived()).coeffRef(row,col); in coeffRef()
389 EIGEN_STATIC_ASSERT(internal::evaluator<Derived>::Flags & LinearAccessBit, in coeffRef()
392 return internal::evaluator<Derived>(derived()).coeffRef(index); in coeffRef()
641 …enum { ReturnZero = (int(evaluator<Derived>::Alignment) >= Alignment) || !(Derived::Flags & Direct…
DReturnByValue.h95 struct evaluator<ReturnByValue<Derived> >
96 : public evaluator<typename internal::traits<Derived>::ReturnType>
100 typedef evaluator<PlainObject> Base;
102 EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr)
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/
DSmaliExpressionEvaluator.java46 private final ExpressionEvaluator evaluator; field in SmaliExpressionEvaluator
48 public SmaliExpressionEvaluator(PsiElement fragment, ExpressionEvaluator evaluator) { in SmaliExpressionEvaluator() argument
50 this.evaluator = evaluator; in SmaliExpressionEvaluator()
60 return evaluator.evaluate(context); in evaluate()
64 return evaluator.getValue(); in getValue()
68 return evaluator.getModifier(); in getModifier()
/external/eigen/Eigen/src/SparseCore/
DSparseCwiseBinaryOp.h48 …|| ((internal::evaluator<Lhs>::Flags&RowMajorBit) == (internal::evaluator<Rhs>::Flags&RowMajorBit… in CwiseBinaryOpImpl()
64 typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
65 typedef typename evaluator<Rhs>::InnerIterator RhsIterator;
129 …CoeffReadCost = evaluator<Lhs>::CoeffReadCost + evaluator<Rhs>::CoeffReadCost + functor_traits<Bin…
148 evaluator<Lhs> m_lhsImpl;
149 evaluator<Rhs> m_rhsImpl;
158 typedef typename evaluator<Rhs>::InnerIterator RhsIterator;
204 const evaluator<Lhs> &m_lhsEval;
214 …CoeffReadCost = evaluator<Lhs>::CoeffReadCost + evaluator<Rhs>::CoeffReadCost + functor_traits<Bin…
235 evaluator<Lhs> m_lhsImpl;
[all …]
DSparseCwiseUnaryOp.h27 CoeffReadCost = evaluator<ArgType>::CoeffReadCost + functor_traits<UnaryOp>::Cost,
42 typedef typename evaluator<ArgType>::InnerIterator EvalIterator;
45 evaluator<ArgType> m_argImpl;
81 CoeffReadCost = evaluator<ArgType>::CoeffReadCost + functor_traits<ViewOp>::Cost,
92 typedef typename evaluator<ArgType>::InnerIterator EvalIterator;
95 evaluator<ArgType> m_argImpl;
126 typedef typename internal::evaluator<Derived>::InnerIterator EvalIterator;
127 internal::evaluator<Derived> thisEval(derived());
138 typedef typename internal::evaluator<Derived>::InnerIterator EvalIterator;
139 internal::evaluator<Derived> thisEval(derived());
DSparseRef.h354 struct evaluator<Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType> >
355 …: evaluator<SparseCompressedBase<Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideT…
357 …typedef evaluator<SparseCompressedBase<Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, S…
359 evaluator() : Base() {}
360 explicit evaluator(const XprType &mat) : Base(mat) {}
364 struct evaluator<Ref<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType> >
365 …: evaluator<SparseCompressedBase<Ref<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, S…
367 …typedef evaluator<SparseCompressedBase<Ref<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Opti…
369 evaluator() : Base() {}
370 explicit evaluator(const XprType &mat) : Base(mat) {}
[all …]
DMappedSparseMatrix.h53 struct evaluator<MappedSparseMatrix<_Scalar,_Options,_StorageIndex> >
54 : evaluator<SparseCompressedBase<MappedSparseMatrix<_Scalar,_Options,_StorageIndex> > >
57 typedef evaluator<SparseCompressedBase<XprType> > Base;
59 evaluator() : Base() {}
60 explicit evaluator(const XprType &mat) : Base(mat) {}
DSparseDot.h29 internal::evaluator<Derived> thisEval(derived()); in dot()
30 typename internal::evaluator<Derived>::InnerIterator i(thisEval, 0); in dot()
53 internal::evaluator<Derived> thisEval(derived()); in dot()
54 typename internal::evaluator<Derived>::InnerIterator i(thisEval, 0); in dot()
56 internal::evaluator<OtherDerived> otherEval(other.derived()); in dot()
57 typename internal::evaluator<OtherDerived>::InnerIterator j(otherEval, 0); in dot()
DSparseDenseProduct.h32 typedef typename evaluator<Lhs>::InnerIterator LhsInnerIterator;
33 typedef evaluator<Lhs> LhsEval;
91 typedef typename evaluator<Lhs>::InnerIterator LhsInnerIterator;
94 evaluator<Lhs> lhsEval(lhs);
114 typedef typename evaluator<Lhs>::InnerIterator LhsInnerIterator;
117 evaluator<Lhs> lhsEval(lhs);
133 typedef typename evaluator<Lhs>::InnerIterator LhsInnerIterator;
136 evaluator<Lhs> lhsEval(lhs);
218 typedef evaluator<ActualLhs> LhsEval;
219 typedef evaluator<ActualRhs> RhsEval;
[all …]
DSparseMap.h282 struct evaluator<Map<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType> >
283 …: evaluator<SparseCompressedBase<Map<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideT…
285 …typedef evaluator<SparseCompressedBase<Map<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, S…
287 evaluator() : Base() {}
288 explicit evaluator(const XprType &mat) : Base(mat) {}
292 struct evaluator<Map<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType> >
293 …: evaluator<SparseCompressedBase<Map<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, S…
295 …typedef evaluator<SparseCompressedBase<Map<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Opti…
297 evaluator() : Base() {}
298 explicit evaluator(const XprType &mat) : Base(mat) {}
DSparseDiagonalProduct.h63 typedef typename evaluator<SparseXprType>::InnerIterator SparseXprInnerIterator;
87 evaluator<SparseXprType> m_sparseXprImpl;
88 evaluator<DiagonalCoeffType> m_diagCoeffImpl;
103 typedef typename evaluator<SparseXprType>::InnerIterator SparseXprIter;
130 evaluator<SparseXprType> m_sparseXprEval;
DTriangularSolver.h31 typedef evaluator<Lhs> LhsEval;
32 typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
68 typedef evaluator<Lhs> LhsEval;
69 typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
107 typedef evaluator<Lhs> LhsEval;
108 typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
142 typedef evaluator<Lhs> LhsEval;
143 typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
DSparseView.h87 typedef typename evaluator<ArgType>::InnerIterator EvalIterator;
125 CoeffReadCost = evaluator<ArgType>::CoeffReadCost,
132 evaluator<ArgType> m_argImpl;
194 CoeffReadCost = evaluator<ArgType>::CoeffReadCost,
201 evaluator<ArgType> m_argImpl;
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/
Dimagenet_accuracy_eval_main.cc44 std::unique_ptr<tensorflow::metrics::ImagenetModelEvaluator> evaluator = in main() local
48 if (!evaluator) { in main()
55 evaluator->params().num_ranks, output_file_path); in main()
61 evaluator->AddObserver(writer.get()); in main()
63 if (evaluator->EvaluateModel() != kTfLiteOk) { in main()
Dimagenet_accuracy_eval.cc152 std::unique_ptr<ImagenetModelEvaluator> evaluator; in CreateImagenetModelEvaluator() local
153 if (ImagenetModelEvaluator::Create(argc, argv, num_threads, &evaluator) != in CreateImagenetModelEvaluator()
155 evaluator.reset(nullptr); in CreateImagenetModelEvaluator()
158 return evaluator; in CreateImagenetModelEvaluator()
/external/eigen/doc/examples/
Dmake_circulant.cpp.evaluator4 struct evaluator<Circulant<ArgType> >
13 CoeffReadCost = evaluator<ArgTypeNestedCleaned>::CoeffReadCost,
17 evaluator(const XprType& xpr)
28 evaluator<ArgTypeNestedCleaned> m_argImpl;
/external/google-breakpad/src/processor/
Dcfi_frame_info.cc60 PostfixEvaluator<V> evaluator(&working, &memory); in FindCallerRegs() local
67 if (!evaluator.EvaluateForValue(cfa_rule_, &cfa)) in FindCallerRegs()
74 if (!evaluator.EvaluateForValue(ra_rule_, &ra)) in FindCallerRegs()
83 if (!evaluator.EvaluateForValue(it->second, &value)) in FindCallerRegs()
/external/eigen/Eigen/src/IterativeLinearSolvers/
DSolveWithGuess.h74 struct evaluator<SolveWithGuess<Decomposition,RhsType, GuessType> >
75 : public evaluator<typename SolveWithGuess<Decomposition,RhsType,GuessType>::PlainObject>
79 typedef evaluator<PlainObject> Base;
81 evaluator(const SolveType& solve)

12345