/hardware/qcom/neuralnetworks/hvxservice/1.0/ |
D | HexagonModel.h | 41 using NeuralnetworksModel = ::android::hardware::neuralnetworks::V1_0::Model; 68 class Model { 71 Model() = delete; 72 Model(const Model&) = delete; 73 Model& operator=(const Model&) = delete; 74 Model(Model&& other); 75 Model& operator=(Model&& other); 77 Model(const NeuralnetworksModel& model); 78 ~Model(); 171 Type Model::getScalar(uint32_t operand) { in getScalar() [all …]
|
D | HexagonModel.cpp | 49 Model::Model(const NeuralnetworksModel& model) : mGraphId(0), mNodeCount(0), mCompiled(false) { in Model() function in android::hardware::neuralnetworks::V1_0::implementation::hexagon::Model 59 Model::Model(Model&& other) { in Model() function in android::hardware::neuralnetworks::V1_0::implementation::hexagon::Model 63 Model& Model::operator=(Model&& other) { in operator =() 80 Model::~Model() { in ~Model() 84 std::string Model::getLog() { in getLog() 92 std::string Model::getGraph() { in getGraph() 100 uint32_t Model::getNextNode() { in getNextNode() 104 const int32_t* Model::getPointer(uint32_t operand) { in getPointer() 108 Shape Model::getShape(uint32_t operand) { in getShape() 117 bool Model::setShape(uint32_t operand, const Shape& shape) { in setShape() [all …]
|
D | Device.cpp | 70 Return<void> Device::getSupportedOperations(const Model& model, in getSupportedOperations() 83 hexagon::Model hexagonModel(model); in getSupportedOperations() 90 static void asyncPrepare(const Model& model, const sp<IPreparedModelCallback>& callback) { in asyncPrepare() 91 std::shared_ptr<hexagon::Model> hexagonModel = std::make_shared<hexagon::Model>(model); in asyncPrepare() 104 Return<ErrorStatus> Device::prepareModel(const Model& model, in prepareModel()
|
D | PreparedModel.h | 50 PreparedModel(const Model& neuralNetworksModel, 51 const std::shared_ptr<hexagon::Model>& hexagonModel); 59 Model mNeuralNetworksModel; 60 std::shared_ptr<hexagon::Model> mHexagonModel;
|
D | PreparedModel.cpp | 31 PreparedModel::PreparedModel(const Model& neuralNetworksModel, in PreparedModel() 32 const std::shared_ptr<hexagon::Model>& hexagonModel) in PreparedModel() 37 static void asyncExecute(const std::shared_ptr<hexagon::Model>& model, const Request& request, in asyncExecute()
|
D | HexagonOperations.h | 33 class Model; variable 34 using HexagonModel = ::android::hardware::neuralnetworks::V1_0::implementation::hexagon::Model;
|
D | Device.h | 47 Return<void> getSupportedOperations(const Model& model, 49 Return<ErrorStatus> prepareModel(const Model& model,
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | ValidateModel.cpp | 32 using PrepareModelMutation = std::function<void(Model*)>; 37 const Model& model) { in validateGetSupportedOperations() 48 const Model& model) { in validatePrepareModel() 67 const Model& originalModel, const PrepareModelMutation& mutate) { in validate() 68 Model model = originalModel; in validate() 75 static uint32_t addOperand(Model* model) { in addOperand() 88 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() 99 static size_t constantCopyExtraSize(const Model& model, size_t operandSize) { in constantCopyExtraSize() 127 static void becomeConstantCopy(Model* model, Operand* operand) { in becomeConstantCopy() 216 size_t sizeForBinder(const Model& model) { in sizeForBinder() [all …]
|
D | VtsHalNeuralnetworks.cpp | 33 void createPreparedModel(const sp<IDevice>& device, const Model& model, in createPreparedModel() 115 void validateModel(const sp<IDevice>& device, const Model& model); 119 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything() 131 const Model model = createModel(kTestModel); in TEST_P()
|
D | VtsHalNeuralnetworks.h | 50 void createPreparedModel(const sp<IDevice>& device, const Model& model,
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | ValidateModel.cpp | 39 using PrepareModelMutation = std::function<void(Model*, ExecutionPreference*)>; 44 const Model& model) { in validateGetSupportedOperations() 55 const Model& model, ExecutionPreference preference) { in validatePrepareModel() 82 const Model& originalModel, const PrepareModelMutation& mutate) { in validate() 83 Model model = originalModel; in validate() 94 static uint32_t addOperand(Model* model) { in addOperand() 107 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() 118 static size_t constantCopyExtraSize(const Model& model, size_t operandSize) { in constantCopyExtraSize() 146 static void becomeConstantCopy(Model* model, Operand* operand) { in becomeConstantCopy() 235 size_t sizeForBinder(const Model& model) { in sizeForBinder() [all …]
|
D | VtsHalNeuralnetworks.cpp | 36 void createPreparedModel(const sp<IDevice>& device, const Model& model, in createPreparedModel() 118 void validateModel(const sp<IDevice>& device, const Model& model); 122 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything() 134 const Model model = createModel(kTestModel); in TEST_P()
|
D | VtsHalNeuralnetworks.h | 49 void createPreparedModel(const sp<IDevice>& device, const Model& model,
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateModel.cpp | 39 using PrepareModelMutation = std::function<void(Model*, ExecutionPreference*)>; 44 const Model& model) { in validateGetSupportedOperations() 55 const Model& model, ExecutionPreference preference) { in validatePrepareModel() 83 const Model& originalModel, const PrepareModelMutation& mutate) { in validate() 84 Model model = originalModel; in validate() 95 static uint32_t addOperand(Model* model) { in addOperand() 108 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() 119 static size_t constantCopyExtraSize(const Model& model, size_t operandSize) { in constantCopyExtraSize() 147 static void becomeConstantCopy(Model* model, Operand* operand) { in becomeConstantCopy() 263 size_t sizeForBinder(const Model::ExtensionNameAndPrefix& extensionNameToPrefix) { in sizeForBinder() [all …]
|
D | VtsHalNeuralnetworks.cpp | 38 void createPreparedModel(const sp<IDevice>& device, const Model& model, in createPreparedModel() 121 void validateModel(const sp<IDevice>& device, const Model& model); 129 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything() 141 void validateFailure(const sp<IDevice>& device, const Model& model, const Request& request) { in validateFailure() 155 const Model model = createModel(kTestModel); in TEST_P()
|
D | GeneratedTestHarness.h | 59 Model createModel(const test_helper::TestModel& testModel); 61 void PrepareModel(const sp<IDevice>& device, const Model& model, sp<IPreparedModel>* preparedModel);
|
D | CompilationCachingTests.cpp | 302 bool isModelFullySupported(const Model& model) { in isModelFullySupported() 316 void saveModelToCache(const Model& model, const hidl_vec<hidl_handle>& modelCache, in saveModelToCache() 351 bool checkEarlyTermination(const Model& model) { in checkEarlyTermination() 422 const Model model = createModel(testModel); in TEST_P() 463 const Model model = createModel(testModel); in TEST_P() 526 const Model model = createModel(testModel); in TEST_P() 631 const Model model = createModel(testModel); in TEST_P() 712 const Model model = createModel(testModel); in TEST_P() 817 const Model model = createModel(testModel); in TEST_P() 898 const Model model = createModel(testModel); in TEST_P() [all …]
|
D | VtsHalNeuralnetworks.h | 50 void createPreparedModel(const sp<IDevice>& device, const Model& model,
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | ValidateModel.cpp | 40 using PrepareModelMutation = std::function<void(Model*, ExecutionPreference*, Priority*)>; 45 const Model& model) { in validateGetSupportedOperations() 56 const Model& model, ExecutionPreference preference, in validatePrepareModel() 89 const Model& originalModel, const PrepareModelMutation& mutate) { in validate() 90 Model model = originalModel; in validate() 102 static uint32_t addOperand(Model* model) { in addOperand() 115 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() 126 static size_t constantCopyExtraSize(const Model& model, size_t operandSize) { in constantCopyExtraSize() 154 static void becomeConstantCopy(Model* model, Operand* operand) { in becomeConstantCopy() 282 size_t sizeForBinder(const V1_2::Model::ExtensionNameAndPrefix& extensionNameToPrefix) { in sizeForBinder() [all …]
|
D | VtsHalNeuralnetworks.cpp | 39 void createPreparedModel(const sp<IDevice>& device, const Model& model, in createPreparedModel() 126 void validateModel(const sp<IDevice>& device, const Model& model); 148 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything() 165 void validateFailure(const sp<IDevice>& device, const Model& model, const Request& request) { in validateFailure() 179 const Model model = createModel(kTestModel); in TEST_P()
|
D | GeneratedTestHarness.h | 59 Model createModel(const test_helper::TestModel& testModel); 61 void PrepareModel(const sp<IDevice>& device, const Model& model, sp<IPreparedModel>* preparedModel);
|
D | CompilationCachingTests.cpp | 305 bool isModelFullySupported(const Model& model) { in isModelFullySupported() 319 void saveModelToCache(const Model& model, const hidl_vec<hidl_handle>& modelCache, in saveModelToCache() 354 bool checkEarlyTermination(const Model& model) { in checkEarlyTermination() 425 const Model model = createModel(testModel); in TEST_P() 465 const Model model = createModel(testModel); in TEST_P() 527 const Model model = createModel(testModel); in TEST_P() 628 const Model model = createModel(testModel); in TEST_P() 709 const Model model = createModel(testModel); in TEST_P() 810 const Model model = createModel(testModel); in TEST_P() 891 const Model model = createModel(testModel); in TEST_P() [all …]
|
D | VtsHalNeuralnetworks.h | 50 void createPreparedModel(const sp<IDevice>& device, const Model& model,
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | types.t | 25 import @1.2::Model.ExtensionNameAndPrefix; 26 import @1.2::Model.ExtensionTypeEncoding; 169 * as an extension type according to {@link Model::extensionNameToPrefix}. 214 * The operand is a constant found in Model.operandValues. It must 248 * as an extension type according to {@link Model::extensionNameToPrefix}. 330 * - location.offset is the offset in bytes into Model.operandValues. 339 * {@link Model::referenced}. 351 * A Neural Network Model. 357 struct Model { 405 * {@link @1.2::Model::ExtensionTypeEncoding::LOW_BITS_TYPE} bits of the [all …]
|
/hardware/interfaces/neuralnetworks/1.0/ |
D | types.t | 94 * The operand is a constant found in Model.operandValues. It must 263 * - location.offset is the offset in bytes into Model.operandValues. 296 * A Neural Network Model. 302 struct Model { 401 * The index of the input corresponds to the index in Model.inputIndexes. 402 * E.g., input[i] corresponds to Model.inputIndexes[i]. 410 * The index of the output corresponds to the index in Model.outputIndexes. 411 * E.g., output[i] corresponds to Model.outputIndexes[i].
|