Searched refs:subgraph (Results 1 – 9 of 9) sorted by relevance
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Conversions.cpp | 193 GeneralResult<Model::Subgraph> unvalidatedConvert(const hal::V1_3::Subgraph& subgraph) { in unvalidatedConvert() argument 194 auto operations = NN_TRY(unvalidatedConvert(subgraph.operations)); in unvalidatedConvert() 198 NN_TRY(hal::utils::countNumberOfConsumers(subgraph.operands.size(), operations)); in unvalidatedConvert() 199 CHECK(subgraph.operands.size() == numberOfConsumers.size()); in unvalidatedConvert() 200 for (size_t i = 0; i < subgraph.operands.size(); ++i) { in unvalidatedConvert() 201 if (subgraph.operands[i].numberOfConsumers != numberOfConsumers[i]) { in unvalidatedConvert() 205 << subgraph.operands[i].numberOfConsumers; in unvalidatedConvert() 210 .operands = NN_TRY(unvalidatedConvert(subgraph.operands)), in unvalidatedConvert() 212 .inputIndexes = subgraph.inputIndexes, in unvalidatedConvert() 213 .outputIndexes = subgraph.outputIndexes, in unvalidatedConvert() [all …]
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | CommonUtils.cpp | 43 bool hasNoPointerData(const nn::Model::Subgraph& subgraph); 60 bool hasNoPointerData(const nn::Model::Subgraph& subgraph) { in hasNoPointerData() argument 61 return hasNoPointerData(subgraph.operands); in hasNoPointerData() 83 void copyPointersToSharedMemory(nn::Model::Subgraph* subgraph, in copyPointersToSharedMemory() argument 85 CHECK(subgraph != nullptr); in copyPointersToSharedMemory() 86 std::for_each(subgraph->operands.begin(), subgraph->operands.end(), in copyPointersToSharedMemory() 190 [&memoryBuilder](auto& subgraph) { in flushDataFromPointerToShared() argument 191 copyPointersToSharedMemory(&subgraph, &memoryBuilder); in flushDataFromPointerToShared()
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | BasicTests.cpp | 153 Subgraph subgraph = { in TEST_P() local 160 .main = std::move(subgraph), in TEST_P()
|
D | ValidateModel.cpp | 277 size_t sizeForBinder(const Subgraph& subgraph) { in sizeForBinder() argument 280 size += sizeForBinder(subgraph.operands); in sizeForBinder() 281 size += sizeForBinder(subgraph.operations); in sizeForBinder() 282 size += sizeForBinder(subgraph.inputIndexes); in sizeForBinder() 283 size += sizeForBinder(subgraph.outputIndexes); in sizeForBinder()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | BasicTests.cpp | 168 Subgraph subgraph = { in TEST_P() local 175 .main = std::move(subgraph), in TEST_P()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Conversions.cpp | 304 GeneralResult<Model::Subgraph> unvalidatedConvert(const aidl_hal::Subgraph& subgraph) { in unvalidatedConvert() argument 306 .operands = NN_TRY(unvalidatedConvert(subgraph.operands)), in unvalidatedConvert() 307 .operations = NN_TRY(unvalidatedConvert(subgraph.operations)), in unvalidatedConvert() 308 .inputIndexes = NN_TRY(toUnsigned(subgraph.inputIndexes)), in unvalidatedConvert() 309 .outputIndexes = NN_TRY(toUnsigned(subgraph.outputIndexes)), in unvalidatedConvert() 884 nn::GeneralResult<Subgraph> unvalidatedConvert(const nn::Model::Subgraph& subgraph) { in unvalidatedConvert() argument 886 .operands = NN_TRY(unvalidatedConvert(subgraph.operands)), in unvalidatedConvert() 887 .operations = NN_TRY(unvalidatedConvert(subgraph.operations)), in unvalidatedConvert() 888 .inputIndexes = NN_TRY(toSigned(subgraph.inputIndexes)), in unvalidatedConvert() 889 .outputIndexes = NN_TRY(toSigned(subgraph.outputIndexes)), in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Conversions.h | 80 GeneralResult<Model::Subgraph> unvalidatedConvert(const aidl_hal::Subgraph& subgraph); 148 nn::GeneralResult<Subgraph> unvalidatedConvert(const nn::Model::Subgraph& subgraph);
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | types.hal | 46 * A reference to a subgraph. 5120 * * 1: A {@link OperandType::SUBGRAPH} reference to the subgraph to be 5122 * * 2: A {@link OperandType::SUBGRAPH} reference to the subgraph to be 5124 * * 3 ~ (n + 2): Inputs to be passed to the subgraph selected for execution. 5127 * * 0 ~ (m - 1): Outputs produced by the selected subgraph. 5132 * Executes the body subgraph until the condition subgraph outputs false. 5134 * The inputs to this operation are the condition subgraph, the body subgraph, 5142 * Both the condition and body subgraph receive (m + k + n) inputs. 5146 * corresponding outputs of the body subgraph produced during the previous 5154 * The body subgraph produces (m + k) outputs. [all …]
|
D | IDevice.hal | 54 * subgraph are fully supported by the vendor driver. If an operation may
|