1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00
This commit is contained in:
Abhishek Gola
2026-06-12 16:54:55 +05:30
parent 72ffdfc170
commit cab931296f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -523,7 +523,7 @@ CV__DNN_INLINE_NS_BEGIN
virtual void setOutputs(const std::vector<Arg>& outputs) = 0;
virtual const std::vector<Ptr<OpData> >& prog() const = 0;
virtual void setProg(const std::vector<Ptr<OpData> >& newprog) = 0;
https://github.com/opencv/opencv/pull/29018 virtual int opBackend(int opidx) const = 0;
virtual int opBackend(int opidx) const = 0;
};
/** @brief This class allows to create and manipulate comprehensive artificial neural networks.
+1 -1
View File
@@ -129,7 +129,7 @@ struct BlockLayoutTransformer
std::string op_name = layer->type;
std::string name = layer->name;
vector<PGraph>* subgraphs = layer->subgraphs();
\ bool deviceOp = g->opBackend((int)opidx) != DNN_BACKEND_OPENCV;
bool deviceOp = g->opBackend((int)opidx) != DNN_BACKEND_OPENCV;
//std::cout << "name: " << name << ", op_name: " << op_name << ", inp0 layout: " << layoutToString(layouts[inputs[0].idx]) << "\n";
if (subgraphs) {