Home
last modified time | relevance | path

Searched refs:eval (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/compile/mclinker/include/mcld/Script/
DBinaryOp.h39 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
53 IntOperand* BinaryOp<Operator::MUL>::eval(const Module&,
56 IntOperand* BinaryOp<Operator::DIV>::eval(const Module&,
59 IntOperand* BinaryOp<Operator::MOD>::eval(const Module&,
62 IntOperand* BinaryOp<Operator::ADD>::eval(const Module&,
65 IntOperand* BinaryOp<Operator::SUB>::eval(const Module&,
68 IntOperand* BinaryOp<Operator::LSHIFT>::eval(const Module&,
71 IntOperand* BinaryOp<Operator::RSHIFT>::eval(const Module&,
74 IntOperand* BinaryOp<Operator::LT>::eval(const Module&, const TargetLDBackend&);
76 IntOperand* BinaryOp<Operator::LE>::eval(const Module&, const TargetLDBackend&);
[all …]
DUnaryOp.h37 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
46 IntOperand* UnaryOp<Operator::UNARY_PLUS>::eval(const Module&,
49 IntOperand* UnaryOp<Operator::UNARY_MINUS>::eval(const Module&,
52 IntOperand* UnaryOp<Operator::LOGICAL_NOT>::eval(const Module&,
55 IntOperand* UnaryOp<Operator::BITWISE_NOT>::eval(const Module&,
59 IntOperand* UnaryOp<Operator::ABSOLUTE>::eval(const Module&,
62 IntOperand* UnaryOp<Operator::ADDR>::eval(const Module&,
65 IntOperand* UnaryOp<Operator::ALIGNOF>::eval(const Module&,
68 IntOperand* UnaryOp<Operator::DATA_SEGMENT_END>::eval(const Module&,
71 IntOperand* UnaryOp<Operator::DEFINED>::eval(const Module&,
[all …]
DNullaryOp.h37 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
43 IntOperand* NullaryOp<Operator::SIZEOF_HEADERS>::eval(const Module&,
46 IntOperand* NullaryOp<Operator::MAXPAGESIZE>::eval(const Module&,
50 IntOperand* NullaryOp<Operator::COMMONPAGESIZE>::eval(const Module&,
DTernaryOp.h39 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
53 IntOperand* TernaryOp<Operator::TERNARY_IF>::eval(const Module&,
57 IntOperand* TernaryOp<Operator::DATA_SEGMENT_ALIGN>::eval(
DRpnEvaluator.h28 bool eval(const RpnExpr& pExpr, uint64_t& pResult);
/frameworks/compile/mclinker/lib/Script/
DBinaryOp.cpp27 IntOperand* BinaryOp<Operator::MUL>::eval(const Module& pModule, in eval() function in mcld::BinaryOp::MUL
35 IntOperand* BinaryOp<Operator::DIV>::eval(const Module& pModule, in eval() function in mcld::BinaryOp::DIV
43 IntOperand* BinaryOp<Operator::MOD>::eval(const Module& pModule, in eval() function in mcld::BinaryOp::MOD
51 IntOperand* BinaryOp<Operator::ADD>::eval(const Module& pModule, in eval() function in mcld::BinaryOp::ADD
59 IntOperand* BinaryOp<Operator::SUB>::eval(const Module& pModule, in eval() function in mcld::BinaryOp::SUB
67 IntOperand* BinaryOp<Operator::LSHIFT>::eval(const Module& pModule, in eval() function in mcld::BinaryOp::LSHIFT
75 IntOperand* BinaryOp<Operator::RSHIFT>::eval(const Module& pModule, in eval() function in mcld::BinaryOp::RSHIFT
83 IntOperand* BinaryOp<Operator::LT>::eval(const Module& pModule, in eval() function in mcld::BinaryOp::LT
91 IntOperand* BinaryOp<Operator::LE>::eval(const Module& pModule, in eval() function in mcld::BinaryOp::LE
99 IntOperand* BinaryOp<Operator::GT>::eval(const Module& pModule, in eval() function in mcld::BinaryOp::GT
[all …]
DUnaryOp.cpp26 IntOperand* UnaryOp<Operator::UNARY_PLUS>::eval( in eval() function in mcld::UnaryOp::UNARY_PLUS
35 IntOperand* UnaryOp<Operator::UNARY_MINUS>::eval( in eval() function in mcld::UnaryOp::UNARY_MINUS
44 IntOperand* UnaryOp<Operator::LOGICAL_NOT>::eval( in eval() function in mcld::UnaryOp::LOGICAL_NOT
53 IntOperand* UnaryOp<Operator::BITWISE_NOT>::eval( in eval() function in mcld::UnaryOp::BITWISE_NOT
62 IntOperand* UnaryOp<Operator::ABSOLUTE>::eval(const Module& pModule, in eval() function in mcld::UnaryOp::ABSOLUTE
70 IntOperand* UnaryOp<Operator::ADDR>::eval(const Module& pModule, in eval() function in mcld::UnaryOp::ADDR
92 IntOperand* UnaryOp<Operator::ALIGNOF>::eval(const Module& pModule, in eval() function in mcld::UnaryOp::ALIGNOF
114 IntOperand* UnaryOp<Operator::DATA_SEGMENT_END>::eval( in eval() function in mcld::UnaryOp::DATA_SEGMENT_END
123 IntOperand* UnaryOp<Operator::DEFINED>::eval(const Module& pModule, in eval() function in mcld::UnaryOp::DEFINED
131 IntOperand* UnaryOp<Operator::LENGTH>::eval(const Module& pModule, in eval() function in mcld::UnaryOp::LENGTH
[all …]
DRpnEvaluator.cpp33 bool RpnEvaluator::eval(const RpnExpr& pExpr, uint64_t& pResult) { in eval() function in mcld::RpnEvaluator
42 operandStack.push(op->eval(m_Module, m_Backend)); in eval()
49 operandStack.push(op->eval(m_Module, m_Backend)); in eval()
59 operandStack.push(op->eval(m_Module, m_Backend)); in eval()
72 operandStack.push(op->eval(m_Module, m_Backend)); in eval()
DNullaryOp.cpp19 IntOperand* NullaryOp<Operator::SIZEOF_HEADERS>::eval( in eval() function in mcld::NullaryOp::SIZEOF_HEADERS
28 IntOperand* NullaryOp<Operator::MAXPAGESIZE>::eval( in eval() function in mcld::NullaryOp::MAXPAGESIZE
37 IntOperand* NullaryOp<Operator::COMMONPAGESIZE>::eval( in eval() function in mcld::NullaryOp::COMMONPAGESIZE
DTernaryOp.cpp20 IntOperand* TernaryOp<Operator::TERNARY_IF>::eval( in eval() function in mcld::TernaryOp::TERNARY_IF
33 IntOperand* TernaryOp<Operator::DATA_SEGMENT_ALIGN>::eval( in eval() function in mcld::TernaryOp::DATA_SEGMENT_ALIGN
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp101 return op->eval(parent1->getValue(), parent2 == nullptr ? 0 : parent2->getValue()); in getValue()
162 int res = this->eval(i, j); in getInitRange()
181 void IRandomVariableOp::eval(const std::set<int>* parent1In, const std::set<int>* parent2In, in eval() function in android::nn::fuzzing_test::IRandomVariableOp
190 int res = this->eval(i, j); in eval()
216 using IRandomVariableOp::eval;
217 virtual int eval(int val) const = 0;
218 virtual int eval(int lhs, int) const override { return eval(lhs); } in eval() function in android::nn::fuzzing_test::IUnaryOp
220 virtual void eval(const std::set<int>* parent1In, const std::set<int>* parent2In, in eval() function in android::nn::fuzzing_test::IUnaryOp
228 int res = this->eval(i); in eval()
241 using IRandomVariableOp::eval;
[all …]
DRandomVariable.h78 virtual int eval(int lhs, int rhs) const = 0;
84 virtual void eval(const std::set<int>* parent1In, const std::set<int>* parent2In,
/frameworks/ml/nn/common/operations/
DGather.cpp43 inline bool eval(const T* inputData, const Shape& inputShape, int32_t axis, in eval() function
109 return eval(context->getInputBuffer<_Float16>(kInputTensor), in execute()
115 return eval(context->getInputBuffer<float>(kInputTensor), in execute()
121 return eval(context->getInputBuffer<int32_t>(kInputTensor), in execute()
127 return eval(context->getInputBuffer<uint8_t>(kInputTensor), in execute()
133 return eval(context->getInputBuffer<int8_t>(kInputTensor), in execute()
DChannelShuffle.cpp41 inline bool eval(const T* inputData, const Shape& inputShape, int32_t numGroups, int32_t axis, in eval() function
101 return eval(context->getInputBuffer<_Float16>(kInputTensor), in execute()
105 return eval(context->getInputBuffer<float>(kInputTensor), in execute()
109 return eval(context->getInputBuffer<uint8_t>(kInputTensor), in execute()
113 return eval(context->getInputBuffer<int8_t>(kInputTensor), in execute()
DPRelu.cpp46 inline bool eval(const std::function<T(const T&, const T&)>& func, const T* aData, in eval() function
82 return eval<T>( in evalQuant8()
131 return eval<_Float16>( in execute()
142 return eval<float>( in execute()
DCast.h28 bool eval(const uint8_t* inputData, const Shape& inputShape, uint8_t* outputData,
DPow.h28 bool eval(const void* baseData, const Shape& baseShape, const void* exponentData,
DExpandDims.h28 bool eval(const uint8_t* inputData, const Shape& inputShape, int32_t axis, uint8_t* outputData,
DMaximumMinimum.h28 bool eval(const void* in1, const Shape& shape1, const void* in2, const Shape& shape2,
DTile.h29 bool eval(const uint8_t* inputData, const Shape& inputShape, const int32_t* multiples,
DExpandDims.cpp40 bool eval(const uint8_t* inputData, const Shape& inputShape, int32_t axis, uint8_t* outputData, in eval() function
DQuantizedLSTM.h35 bool eval();
DPow.cpp70 bool eval(const void* baseData, const Shape& baseShape, const void* exponentData, in eval() function
/frameworks/rs/
DrsAnimation.h37 float eval(float) const;
/frameworks/ml/nn/tools/systrace_parser/parser/test/
Dtest_stats.py36 expected = eval(spec_interval, {}, self.timevars) * 1000.0
48 expected = eval(spec_interval, {}, self.timevars) * 1000.0

12