Home
last modified time | relevance | path

Searched refs:Operand (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/compile/mclinker/lib/Script/
DOperand.cpp24 Operand::Operand(Type pType) : ExprToken(ExprToken::OPERAND), m_Type(pType) { in Operand() function in mcld::Operand
27 Operand::~Operand() { in ~Operand()
36 SymOperand::SymOperand() : Operand(Operand::SYMBOL), m_Value(0) { in SymOperand()
40 : Operand(Operand::SYMBOL), m_Name(pName), m_Value(0) { in SymOperand()
74 IntOperand::IntOperand() : Operand(Operand::INTEGER), m_Value(0) { in IntOperand()
78 : Operand(Operand::INTEGER), m_Value(pValue) { in IntOperand()
106 SectOperand::SectOperand() : Operand(Operand::SECTION) { in SectOperand()
110 : Operand(Operand::SECTION), m_Name(pName) { in SectOperand()
140 : Operand(Operand::SECTION_DESC), m_pOutputDesc(NULL) { in SectDescOperand()
144 : Operand(Operand::SECTION_DESC), m_pOutputDesc(pOutputDesc) { in SectDescOperand()
[all …]
DRpnEvaluator.cpp34 std::stack<Operand*> operandStack; in eval()
46 Operand* opd = operandStack.top(); in eval()
53 Operand* opd2 = operandStack.top(); in eval()
55 Operand* opd1 = operandStack.top(); in eval()
63 Operand* opd3 = operandStack.top(); in eval()
65 Operand* opd2 = operandStack.top(); in eval()
67 Operand* opd1 = operandStack.top(); in eval()
80 Operand* opd = llvm::cast<Operand>(*it); in eval()
82 case Operand::SYMBOL: { in eval()
108 assert(operandStack.top()->type() == Operand::SYMBOL || in eval()
[all …]
DUnaryOp.cpp75 case Operand::SECTION: in eval()
78 case Operand::SECTION_DESC: in eval()
97 case Operand::SECTION: in eval()
100 case Operand::SECTION_DESC: in eval()
168 case Operand::SECTION: in eval()
171 case Operand::SECTION_DESC: in eval()
DAssignment.cpp114 llvm::cast<Operand>(*it)->isDot()) { in activate()
151 llvm::cast<Operand>(*it)->isDot()) { in activate()
/frameworks/compile/mclinker/include/mcld/Script/
DOperand.h29 class Operand : public ExprToken {
34 explicit Operand(Type pType);
35 virtual ~Operand();
56 class SymOperand : public Operand {
73 static bool classof(const Operand* pOperand) { in classof()
74 return pOperand->type() == Operand::SYMBOL; in classof()
91 class IntOperand : public Operand {
104 static bool classof(const Operand* pOperand) { in classof()
105 return pOperand->type() == Operand::INTEGER; in classof()
122 class SectOperand : public Operand {
[all …]
DTernaryOp.h20 class Operand; variable
41 void appendOperand(Operand* pOperand) { in appendOperand()
49 Operand* m_pOperand[3];
DUnaryOp.h20 class Operand; variable
39 void appendOperand(Operand* pOperand) { m_pOperand = pOperand; } in appendOperand()
42 Operand* m_pOperand;
DNullaryOp.h18 class Operand; variable
39 void appendOperand(Operand* pOperand) { assert(0); } in appendOperand()
DBinaryOp.h18 class Operand; variable
41 void appendOperand(Operand* pOperand) { in appendOperand()
49 Operand* m_pOperand[2];
/frameworks/ml/nn/runtime/test/specs/V1_3/
Dcast_identity.mod.py19 Operand = collections.namedtuple( variable
26 Operand(
33 Operand(
40 Operand(
47 Operand(
52 Operand(
59 Operand(
64 Operand(
69 Operand(
/frameworks/ml/nn/common/include/
DUtils.h267 inline uint32_t nonExtensionOperandSizeOfData(const hal::Operand& operand) {
313 bool tensorHasUnspecifiedDimensions(const hal::Operand& operand);
371 const hal::Operand& halOperand,
389 std::function<bool(const hal::Operand&)> isValidSubgraphReference;
391 std::function<uint32_t(const hal::Operand&)> getSubgraphInputCount;
393 std::function<uint32_t(const hal::Operand&)> getSubgraphOutputCount;
395 std::function<const hal::Operand*(const hal::Operand&, uint32_t)> getSubgraphInputOperand;
397 std::function<const hal::Operand*(const hal::Operand&, uint32_t)> getSubgraphOutputOperand;
408 const uint32_t* outputIndexes, const std::vector<hal::Operand>& operands,
520 hal::V1_0::Operand convertToV1_0(const hal::V1_2::Operand& operand);
[all …]
DMetaModel.h113 using Operand = typename decltype(mHidlModel.operands)::value_type; member
137 OrigOperandToSlicedInputOperandIndex<typename Slice<T_SlicedModel>::Operand>*
DBufferTracker.h40 const hal::Operand& operand);
44 std::set<PreparedModelRole> roles, const hal::Operand& operand);
DHalInterfaces.h88 using V1_3::Operand;
102 using OperandExtraParams = V1_2::Operand::ExtraParams;
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dcast.mod.py20 Operand = collections.namedtuple( variable
24 Operand(
30 Operand(
36 Operand(
42 Operand(
67 Operand(
73 Operand(
79 Operand(
/frameworks/ml/nn/common/
DMetaModel.cpp102 T_ReturnType convertTo(Operand operand);
104 hal::V1_0::Operand convertTo<hal::V1_0::Operand>(Operand operand) { in convertTo()
108 hal::V1_2::Operand convertTo<hal::V1_2::Operand>(Operand operand) { in convertTo()
244 uint32_t getIndex(Operand operand) { in getIndex()
270 bool operator()(const Operand& a, const Operand& b) const { in operator ()()
316 std::map<Operand, uint32_t, Compare> mMap;
324 OrigOperandToSlicedInputOperandIndex<typename Slice<T_SlicedModel>::Operand>* in processOperations()
328 using SlicedOperand = typename Slice<T_SlicedModel>::Operand; in processOperations()
426 using SlicedOperand = typename Slice<T_SlicedModel>::Operand; in makeSlice()
456 const Operand& origOperand = origOperands[input]; in makeSlice()
DUtils.cpp198 const uint32_t* outputIndexes, const Operand* operands, in OperationValidationContext()
221 const Operand* getInputOperand(uint32_t index) const;
222 const Operand* getOutputOperand(uint32_t index) const;
229 const Operand* operands;
241 const Operand* OperationValidationContext::getInputOperand(uint32_t index) const { in getInputOperand()
246 const Operand* OperationValidationContext::getOutputOperand(uint32_t index) const { in getOutputOperand()
264 const Operand* operand = getInputOperand(index); in getInputShape()
278 const Operand* operand = getOutputOperand(index); in getOutputShape()
424 bool tensorHasUnspecifiedDimensions(const Operand& operand) { in tensorHasUnspecifiedDimensions()
494 const Operand& halOperand, const ANeuralNetworksSymmPerChannelQuantParams& channelQuant, in validateOperandSymmPerChannelQuantParams()
[all …]
DValidateHal.cpp100 static bool validateOperandExtraParams(const V1_3::Operand& operand, uint32_t index) { in validateOperandExtraParams()
182 V1_3::Operand operand = convertToV1_3(versionedOperand); in validateOperands()
450 const hidl_vec<Operand>& operands, in validateOperations()
452 auto isValidSubgraphReference = [&subgraphs](const Operand& modelOperand) -> bool { in validateOperations()
459 auto getSubgraph = [&subgraphs](const Operand& modelOperand) -> const Subgraph* { in validateOperations()
463 auto getInputCount = [&getSubgraph](const Operand& modelOperand) -> uint32_t { in validateOperations()
466 auto getOutputCount = [&getSubgraph](const Operand& modelOperand) -> uint32_t { in validateOperations()
469 auto getInputOperand = [&getSubgraph](const Operand& modelOperand, in validateOperations()
470 uint32_t index) -> const Operand* { in validateOperations()
475 auto getOutputOperand = [&getSubgraph](const Operand& modelOperand, in validateOperations()
[all …]
/frameworks/ml/nn/runtime/
DModelBuilder.cpp118 Operand& operand = mOperands[index]; in setOperandValue()
193 Operand& operand = mOperands[index]; in setOperandValueFromModel()
216 Operand& operand = mOperands[index]; in setOperandSymmPerChannelQuantParams()
249 Operand& operand = mOperands[index]; in setOperandExtensionData()
285 Operand& operand = mOperands[l.operandIndex]; in copyLargeValuesToSharedMemory()
303 Operand& operand = mOperands[l.operandIndex]; in copyLargeValuesToSharedMemory()
324 Operand& operand = mOperands[index]; in setOperandValueFromMemory()
372 auto isValidSubgraphReference = [this](const Operand& modelOperand) -> bool { in addOperation()
379 auto getInputCount = [this](const Operand& modelOperand) -> uint32_t { in addOperation()
382 auto getOutputCount = [this](const Operand& modelOperand) -> uint32_t { in addOperation()
[all …]
DModelArgumentInfo.h41 const hal::Operand& operand, const ANeuralNetworksOperandType* type,
44 const hal::Operand& operand, const ANeuralNetworksOperandType* type, uint32_t poolIndex,
91 int updateDimensionInfo(const hal::Operand& operand, const ANeuralNetworksOperandType* newType);
DModelBuilder.h92 const hal::Operand& getInputOperand(uint32_t i) const { in getInputOperand()
102 const hal::Operand& getOutputOperand(uint32_t i) const { in getOutputOperand()
107 const hal::Operand& getOperand(uint32_t index) const { return mOperands[index]; } in getOperand()
124 const ModelBuilder* getReferencedModel(const hal::Operand& operand) const { in getReferencedModel()
194 std::vector<hal::Operand> mOperands;
DModelArgumentInfo.cpp39 const Operand& operand, const ANeuralNetworksOperandType* type, void* data, in createFromPointer()
72 const Operand& operand, const ANeuralNetworksOperandType* type, uint32_t poolIndex, in createFromMemory()
95 int ModelArgumentInfo::updateDimensionInfo(const Operand& operand, in updateDimensionInfo()
DExecutionPlan.cpp100 const Operand& fromOperand) { in copyOperandExtraParams()
212 const Operand& operand = sourceModel.getOperand(sourceOperandIndex); in addOperand()
467 static bool hasUnknownSize(const Operand& operand) { in hasUnknownSize()
484 const Operand& operand = mStepModel.getOperand(stepModelOutput.second); in finishStepModel()
621 const Operand& operand = sourceModel->getOperand(sourceOperandIndex.second); in finish()
686 const Operand& operand = sourceModel->getOperand(sourceOperandIndex.second); in findControlFlowBoundaryConstants()
867 const Operand& sourceOperand = in makeController()
1398 const Operand& sourceOperand = in nextCompound()
1726 const Operand& thenOperand = in partitionTheWorkInternal()
1728 const Operand& elseOperand = in partitionTheWorkInternal()
[all …]
/frameworks/ml/nn/driver/sample/
DSampleDriverQuant.cpp71 const Operand& firstOperand = model.main.operands[operation.inputs[0]]; in getSupportedOperationsImpl()
74 const Operand& secondOperand = model.main.operands[operation.inputs[1]]; in getSupportedOperationsImpl()
/frameworks/ml/nn/runtime/test/android_fuzzing/
DModel.proto163 message Operand { message
174 repeated Operand operand = 1;

123