Home
last modified time | relevance | path

Searched refs:Model (Results 1 – 25 of 30) sorted by relevance

12

/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateModel.cpp36 const V1_0::Model& model) { in validateGetSupportedOperations()
47 const V1_0::Model& model) { in validatePrepareModel()
67 static void validate(const sp<IDevice>& device, const std::string& message, V1_0::Model model, in validate()
68 const std::function<void(Model*)>& mutation) { in validate()
94 static uint32_t addOperand(Model* model) { in addOperand()
107 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand()
123 static void mutateOperandTypeTest(const sp<IDevice>& device, const V1_0::Model& model) { in mutateOperandTypeTest()
129 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperandTypeTest()
153 static void mutateOperandRankTest(const sp<IDevice>& device, const V1_0::Model& model) { in mutateOperandRankTest()
158 validate(device, message, model, [operand, invalidRank](Model* model) { in mutateOperandRankTest()
[all …]
DVtsHalNeuralnetworks.h66 void validateModel(const Model& model);
67 void validateRequests(const Model& model, const std::vector<Request>& request);
DGeneratedTestHarness.cpp182 void Execute(const sp<V1_0::IDevice>& device, std::function<V1_0::Model(void)> create_model, in Execute()
185 V1_0::Model model = create_model(); in Execute()
226 void Execute(const sp<V1_1::IDevice>& device, std::function<V1_1::Model(void)> create_model, in Execute()
229 V1_1::Model model = create_model(); in Execute()
DGeneratedTests.cpp35 extern void Execute(const sp<V1_0::IDevice>&, std::function<V1_0::Model(void)>,
DValidationTests.cpp35 const Model model = TestName::createTestModel(); \
DValidateRequest.cpp45 static void createPreparedModel(const sp<IDevice>& device, const V1_0::Model& model, in createPreparedModel()
240 void ValidationTest::validateRequests(const V1_0::Model& model, in validateRequests()
DModels.h186 Model createTestModel(); \
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonModel.h41 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 …]
DHexagonModel.cpp49 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 …]
DDevice.cpp70 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()
DPreparedModel.h50 PreparedModel(const Model& neuralNetworksModel,
51 const std::shared_ptr<hexagon::Model>& hexagonModel);
59 Model mNeuralNetworksModel;
60 std::shared_ptr<hexagon::Model> mHexagonModel;
DPreparedModel.cpp31 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()
DHexagonOperations.h33 class Model; variable
34 using HexagonModel = ::android::hardware::neuralnetworks::V1_0::implementation::hexagon::Model;
DDevice.h47 Return<void> getSupportedOperations(const Model& model,
49 Return<ErrorStatus> prepareModel(const Model& model,
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateModel.cpp42 const V1_1::Model& model) { in validateGetSupportedOperations()
53 const V1_1::Model& model, ExecutionPreference preference) { in validatePrepareModel()
80 static void validate(const sp<IDevice>& device, const std::string& message, V1_1::Model model, in validate()
81 const std::function<void(Model*)>& mutation, in validate()
110 static uint32_t addOperand(Model* model) { in addOperand()
123 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand()
139 static void mutateOperandTypeTest(const sp<IDevice>& device, const V1_1::Model& model) { in mutateOperandTypeTest()
145 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperandTypeTest()
169 static void mutateOperandRankTest(const sp<IDevice>& device, const V1_1::Model& model) { in mutateOperandRankTest()
174 validate(device, message, model, [operand, invalidRank](Model* model) { in mutateOperandRankTest()
[all …]
DVtsHalNeuralnetworks.h72 void validateModel(const Model& model);
73 void validateRequests(const Model& model, const std::vector<Request>& request);
DValidationTests.cpp35 const Model model = TestName::createTestModel(); \
DGeneratedTests.cpp35 extern void Execute(const sp<V1_1::IDevice>&, std::function<V1_1::Model(void)>,
DValidateRequest.cpp45 static void createPreparedModel(const sp<IDevice>& device, const V1_1::Model& model, in createPreparedModel()
241 void ValidationTest::validateRequests(const V1_1::Model& model, in validateRequests()
/hardware/interfaces/neuralnetworks/1.1/
DAndroid.bp20 "Model",
DIDevice.hal62 getSupportedOperations_1_1(Model model)
120 prepareModel_1_1(Model model, ExecutionPreference preference,
/hardware/interfaces/neuralnetworks/1.0/
DAndroid.bp25 "Model",
DIDevice.hal57 getSupportedOperations(Model model)
113 prepareModel(Model model, IPreparedModelCallback callback)
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicantIface.hal169 * Model of the device (up to |WPS_MODEL_NAME_MAX_LEN| ASCII characters).
171 * @parm modelName Model name to be set.
185 * @parm modelNumber Model number to be set.
/hardware/interfaces/wifi/1.2/default/
DTHREADING.README1 Vendor HAL Threading Model

12