Home
last modified time | relevance | path

Searched refs:subgraph (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp207 GeneralResult<Model::Subgraph> unvalidatedConvert(const hal::V1_3::Subgraph& subgraph) { in unvalidatedConvert() argument
208 auto operations = NN_TRY(unvalidatedConvert(subgraph.operations)); in unvalidatedConvert()
212 NN_TRY(countNumberOfConsumers(subgraph.operands.size(), operations)); in unvalidatedConvert()
213 CHECK(subgraph.operands.size() == numberOfConsumers.size()); in unvalidatedConvert()
214 for (size_t i = 0; i < subgraph.operands.size(); ++i) { in unvalidatedConvert()
215 if (subgraph.operands[i].numberOfConsumers != numberOfConsumers[i]) { in unvalidatedConvert()
219 << subgraph.operands[i].numberOfConsumers; in unvalidatedConvert()
223 auto operands = NN_TRY(unvalidatedConvert(subgraph.operands)); in unvalidatedConvert()
227 .inputIndexes = subgraph.inputIndexes, in unvalidatedConvert()
228 .outputIndexes = subgraph.outputIndexes, in unvalidatedConvert()
[all …]
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DBasicTests.cpp153 Subgraph subgraph = { in TEST_P() local
160 .main = std::move(subgraph), in TEST_P()
DValidateModel.cpp306 size_t sizeForBinder(const Subgraph& subgraph) { in sizeForBinder() argument
309 size += sizeForBinder(subgraph.operands); in sizeForBinder()
310 size += sizeForBinder(subgraph.operations); in sizeForBinder()
311 size += sizeForBinder(subgraph.inputIndexes); in sizeForBinder()
312 size += sizeForBinder(subgraph.outputIndexes); in sizeForBinder()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DBasicTests.cpp168 Subgraph subgraph = { in TEST_P() local
175 .main = std::move(subgraph), in TEST_P()
DValidateModel.cpp270 size_t sizeForBinder(const Subgraph& subgraph) { in sizeForBinder() argument
273 size += sizeForBinder(subgraph.operands); in sizeForBinder()
274 size += sizeForBinder(subgraph.operations); in sizeForBinder()
275 size += sizeForBinder(subgraph.inputIndexes); in sizeForBinder()
276 size += sizeForBinder(subgraph.outputIndexes); in sizeForBinder()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp312 GeneralResult<Model::Subgraph> unvalidatedConvert(const aidl_hal::Subgraph& subgraph) { in unvalidatedConvert() argument
313 auto operands = NN_TRY(unvalidatedConvert(subgraph.operands)); in unvalidatedConvert()
314 auto operations = NN_TRY(unvalidatedConvert(subgraph.operations)); in unvalidatedConvert()
315 auto inputIndexes = NN_TRY(toUnsigned(subgraph.inputIndexes)); in unvalidatedConvert()
316 auto outputIndexes = NN_TRY(toUnsigned(subgraph.outputIndexes)); in unvalidatedConvert()
987 nn::GeneralResult<Subgraph> unvalidatedConvert(const nn::Model::Subgraph& subgraph) { in unvalidatedConvert() argument
988 auto operands = NN_TRY(unvalidatedConvert(subgraph.operands)); in unvalidatedConvert()
989 auto operations = NN_TRY(unvalidatedConvert(subgraph.operations)); in unvalidatedConvert()
990 auto inputIndexes = NN_TRY(toSigned(subgraph.inputIndexes)); in unvalidatedConvert()
991 auto outputIndexes = NN_TRY(toSigned(subgraph.outputIndexes)); in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DConversions.h39 GeneralResult<Model::Subgraph> unvalidatedConvert(const hal::V1_3::Subgraph& subgraph);
79 nn::GeneralResult<Subgraph> unvalidatedConvert(const nn::Model::Subgraph& subgraph);
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h85 GeneralResult<Model::Subgraph> unvalidatedConvert(const aidl_hal::Subgraph& subgraph);
168 nn::GeneralResult<Subgraph> unvalidatedConvert(const nn::Model::Subgraph& subgraph);
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.hal45 * A reference to a subgraph.
5119 * * 1: A {@link OperandType::SUBGRAPH} reference to the subgraph to be
5121 * * 2: A {@link OperandType::SUBGRAPH} reference to the subgraph to be
5123 * * 3 ~ (n + 2): Inputs to be passed to the subgraph selected for execution.
5126 * * 0 ~ (m - 1): Outputs produced by the selected subgraph.
5131 * Executes the body subgraph until the condition subgraph outputs false.
5133 * The inputs to this operation are the condition subgraph, the body subgraph,
5141 * Both the condition and body subgraph receive (m + k + n) inputs.
5145 * corresponding outputs of the body subgraph produced during the previous
5153 * The body subgraph produces (m + k) outputs.
[all …]
DIDevice.hal54 * subgraph are fully supported by the vendor driver. If an operation may