Searched refs:hidlModel (Results 1 – 4 of 4) sorted by relevance
48 HidlModel hidlModel = createHidlModel(wrapperModel); in testAvailableSinceV1_3() local49 ASSERT_FALSE(compliantWithV1_2(hidlModel)); in testAvailableSinceV1_3()50 ASSERT_FALSE(compliantWithV1_1(hidlModel)); in testAvailableSinceV1_3()51 ASSERT_FALSE(compliantWithV1_0(hidlModel)); in testAvailableSinceV1_3()55 HidlModel hidlModel = createHidlModel(wrapperModel); in testAvailableSinceV1_2() local56 ASSERT_TRUE(compliantWithV1_2(hidlModel)); in testAvailableSinceV1_2()57 ASSERT_FALSE(compliantWithV1_1(hidlModel)); in testAvailableSinceV1_2()58 ASSERT_FALSE(compliantWithV1_0(hidlModel)); in testAvailableSinceV1_2()62 HidlModel hidlModel = createHidlModel(wrapperModel); in testAvailableSinceV1_1() local63 ASSERT_TRUE(compliantWithV1_2(hidlModel)); in testAvailableSinceV1_1()[all …]
293 const HidlModel hidlModel = model->makeHidlModel(); in dump() local294 std::cout << name << ": " << toString(hidlModel) << std::endl; in dump()295 std::cout << "inputs: " << toString(hidlModel.main.inputIndexes) << std::endl; in dump()296 std::cout << "outputs: " << toString(hidlModel.main.outputIndexes) << std::endl; in dump()297 for (size_t i = 0, e = hidlModel.main.operations.size(); i < e; i++) { in dump()298 std::cout << "operation[" << i << "]: " << toString(hidlModel.main.operations[i]) in dump()
190 const Model& hidlModel = metaModel.getModel(); in getSupportedOperations() local191 const uint32_t operationCount = hidlModel.main.operations.size(); in getSupportedOperations()216 const Operation& operation = hidlModel.main.operations[operationIndex]; in getSupportedOperations()218 auto accumulateOperands = [&hidlModel, &accumulator](const hidl_vec<uint32_t>& operands) { in getSupportedOperations()220 const Operand& operand = hidlModel.main.operands[operandIndex]; in getSupportedOperations()601 static std::pair<int, std::shared_ptr<PreparedModel>> create(Model hidlModel);637 const Model& hidlModel = metaModel.getModel(); in getSupportedOperations() local638 const size_t count = hidlModel.main.operations.size(); in getSupportedOperations()644 OperationType operationType = hidlModel.main.operations[i].type; in getSupportedOperations()680 std::pair<int, std::shared_ptr<PreparedModel>> CpuPreparedModel::create(Model hidlModel) { in create() argument[all …]
721 const Model hidlModel = m->makeHidlModel(); in ANeuralNetworksModel_getSupportedOperationsForDevices() local740 const MetaModel metaModel(hidlModel, DeviceManager::get()->strictSlicing()); in ANeuralNetworksModel_getSupportedOperationsForDevices()