mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01:00
fix build
This commit is contained in:
parent
03cedee0b0
commit
51ec7fedaf
|
|
@ -938,6 +938,15 @@ struct GeluFunctor : public BaseFunctor {
|
||||||
}
|
}
|
||||||
#endif // HAVE_DNN_NGRAPH
|
#endif // HAVE_DNN_NGRAPH
|
||||||
|
|
||||||
|
#ifdef HAVE_CANN
|
||||||
|
Ptr<BackendNode> initCannOp(const std::string& name,
|
||||||
|
const std::vector<Ptr<BackendWrapper> > &inputs,
|
||||||
|
const std::vector<Ptr<BackendNode> >& nodes)
|
||||||
|
{
|
||||||
|
CV_Error(Error::StsNotImplemented, "");
|
||||||
|
}
|
||||||
|
#endif // HAVE_CANN
|
||||||
|
|
||||||
int64 getFLOPSPerElement() const { return 100; }
|
int64 getFLOPSPerElement() const { return 100; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user