Home
last modified time | relevance | path

Searched refs:ValidationMode (Results 1 – 4 of 4) sorted by relevance

/frameworks/ml/nn/common/include/
DValidateHal.h42 enum class ValidationMode { DRIVER, RUNTIME }; enum
51 bool validateModel(const T_Model& model, ValidationMode mode = ValidationMode::DRIVER);
/frameworks/ml/nn/common/
DValidateHal.cpp451 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/
DModelBuilder.cpp527 if (!validateModel(modelForValidation, ValidationMode::RUNTIME)) { in finish()
DManager.cpp659 if (!validateModel(model, ValidationMode::RUNTIME) || in prepareModel()