Searched refs:ValidationMode (Results 1 – 4 of 4) sorted by relevance
/frameworks/ml/nn/common/include/ |
D | ValidateHal.h | 42 enum class ValidationMode { DRIVER, RUNTIME }; enum 51 bool validateModel(const T_Model& model, ValidationMode mode = ValidationMode::DRIVER);
|
/frameworks/ml/nn/common/ |
D | ValidateHal.cpp | 451 const hidl_vec<Subgraph>& subgraphs, ValidationMode mode) { in validateOperations() 496 mode == ValidationMode::RUNTIME}); in validateOperations() 693 bool validateModel(const T_Model& model, ValidationMode mode) { in validateModel() 713 template bool validateModel<V1_0::Model>(const V1_0::Model& model, ValidationMode mode); 714 template bool validateModel<V1_1::Model>(const V1_1::Model& model, ValidationMode mode); 715 template bool validateModel<V1_2::Model>(const V1_2::Model& model, ValidationMode mode); 718 bool validateModel(const V1_3::Model& model, ValidationMode mode) { in validateModel()
|
/frameworks/ml/nn/runtime/ |
D | ModelBuilder.cpp | 527 if (!validateModel(modelForValidation, ValidationMode::RUNTIME)) { in finish()
|
D | Manager.cpp | 659 if (!validateModel(model, ValidationMode::RUNTIME) || in prepareModel()
|