Merge pull request #20508 from TolyaTalamanov:at/expand-python-pyparams
[G-API] Expand PyParams to support constInput * Wrap constInputs to python * Wrap cfgNumRequests * Fix alignment * Move macro to the line above
This commit is contained in:
committed by
GitHub
parent
24de676a64
commit
ba539eb9aa
@@ -37,3 +37,15 @@ cv::gapi::ie::PyParams cv::gapi::ie::params(const std::string &tag,
|
||||
const std::string &device) {
|
||||
return {tag, model, device};
|
||||
}
|
||||
|
||||
cv::gapi::ie::PyParams& cv::gapi::ie::PyParams::constInput(const std::string &layer_name,
|
||||
const cv::Mat &data,
|
||||
TraitAs hint) {
|
||||
m_priv->constInput(layer_name, data, hint);
|
||||
return *this;
|
||||
}
|
||||
|
||||
cv::gapi::ie::PyParams& cv::gapi::ie::PyParams::cfgNumRequests(size_t nireq) {
|
||||
m_priv->cfgNumRequests(nireq);
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user