Home
last modified time | relevance | path

Searched refs:hidlModel (Results 1 – 5 of 5) sorted by relevance

/frameworks/ml/nn/runtime/
DManager.cpp62 void Device::getSupportedOperations(const Model& hidlModel, in getSupportedOperations() argument
65 hidlModel, in getSupportedOperations()
78 outSupportedOperations->resize(hidlModel.operations.size()); in getSupportedOperations()
96 const Operation &operation = hidlModel.operations[operationIndex]; in getSupportedOperations()
98 auto accumulateOperands = [&hidlModel, &accumulator](const hidl_vec<uint32_t>& operands) { in getSupportedOperations()
100 const Operand& operand = hidlModel.operands[operandIndex]; in getSupportedOperations()
DExecutionPlan.cpp46 Model hidlModel; in compile() local
47 model->setHidlModel(&hidlModel); in compile()
51 device->getInterface()->prepareModel(hidlModel, preparedModelCallback); in compile()
794 Model hidlModel; in initialize() local
795 model->setHidlModel(&hidlModel); in initialize()
796 device->getSupportedOperations(hidlModel, &mSupportsOperationByIndex); in initialize()
DManager.h40 void getSupportedOperations(const Model& hidlModel, hidl_vec<bool>* supportedOperations) const;
DExecutionBuilder.cpp355 Model hidlModel; in startCompute() local
356 mModel->setHidlModel(&hidlModel); in startCompute()
361 device->getSupportedOperations(hidlModel, &supports); in startCompute()
/frameworks/ml/nn/runtime/test/
DTestPartitioning.cpp179 HidlModel hidlModel; in dump() local
180 model->setHidlModel(&hidlModel); in dump()
181 std::cout << name << ": " << toString(hidlModel) << std::endl; in dump()
182 std::cout << "inputs: " << toString(hidlModel.inputIndexes) << std::endl; in dump()
183 std::cout << "outputs: " << toString(hidlModel.outputIndexes) << std::endl; in dump()
184 for (size_t i = 0, e = hidlModel.operations.size(); i < e; i++) { in dump()
185 std::cout << "operation[" << i << "]: " << toString(hidlModel.operations[i]) << std::endl; in dump()