/frameworks/compile/mclinker/lib/Script/ |
D | Operand.cpp | 24 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 …]
|
D | RpnEvaluator.cpp | 34 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 …]
|
D | UnaryOp.cpp | 75 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()
|
D | Assignment.cpp | 114 llvm::cast<Operand>(*it)->isDot()) { in activate() 151 llvm::cast<Operand>(*it)->isDot()) { in activate()
|
/frameworks/compile/mclinker/include/mcld/Script/ |
D | Operand.h | 29 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 …]
|
D | TernaryOp.h | 20 class Operand; variable 41 void appendOperand(Operand* pOperand) { in appendOperand() 49 Operand* m_pOperand[3];
|
D | UnaryOp.h | 20 class Operand; variable 39 void appendOperand(Operand* pOperand) { m_pOperand = pOperand; } in appendOperand() 42 Operand* m_pOperand;
|
D | NullaryOp.h | 18 class Operand; variable 39 void appendOperand(Operand* pOperand) { assert(0); } in appendOperand()
|
D | BinaryOp.h | 18 class Operand; variable 41 void appendOperand(Operand* pOperand) { in appendOperand() 49 Operand* m_pOperand[2];
|
/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | cast_identity.mod.py | 19 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/ |
D | Utils.h | 263 inline uint32_t nonExtensionOperandSizeOfData(const hal::Operand& operand) { 309 bool tensorHasUnspecifiedDimensions(const hal::Operand& operand); 367 const hal::Operand& halOperand, 385 std::function<bool(const hal::Operand&)> isValidSubgraphReference; 387 std::function<uint32_t(const hal::Operand&)> getSubgraphInputCount; 389 std::function<uint32_t(const hal::Operand&)> getSubgraphOutputCount; 391 std::function<const hal::Operand*(const hal::Operand&, uint32_t)> getSubgraphInputOperand; 393 std::function<const hal::Operand*(const hal::Operand&, uint32_t)> getSubgraphOutputOperand; 404 const uint32_t* outputIndexes, const std::vector<hal::Operand>& operands, 516 hal::V1_0::Operand convertToV1_0(const hal::V1_2::Operand& operand); [all …]
|
D | MetaModel.h | 113 using Operand = typename decltype(mHidlModel.operands)::value_type; member 137 OrigOperandToSlicedInputOperandIndex<typename Slice<T_SlicedModel>::Operand>*
|
D | BufferTracker.h | 40 const hal::Operand& operand); 44 std::set<PreparedModelRole> roles, const hal::Operand& operand);
|
D | HalInterfaces.h | 88 using V1_3::Operand; 102 using OperandExtraParams = V1_2::Operand::ExtraParams;
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | cast.mod.py | 20 Operand = collections.namedtuple( variable 24 Operand( 30 Operand( 36 Operand( 42 Operand( 67 Operand( 73 Operand( 79 Operand(
|
/frameworks/ml/nn/common/ |
D | MetaModel.cpp | 102 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()
|
D | Utils.cpp | 198 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 …]
|
D | ValidateHal.cpp | 100 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 …]
|
D | GraphDump.cpp | 126 void tryValueDump(Dumper& dump, const Model& model, const Operand& opnd) { in tryValueDump() 171 const Operand& opnd = model.main.operands[i]; in graphDump()
|
/frameworks/ml/nn/runtime/ |
D | ModelBuilder.cpp | 118 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 …]
|
D | ModelArgumentInfo.h | 41 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);
|
D | ModelBuilder.h | 92 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;
|
D | ModelArgumentInfo.cpp | 39 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()
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriverQuant.cpp | 71 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/ |
D | Model.proto | 163 message Operand { message 174 repeated Operand operand = 1;
|