Priv& priv();
const Priv& priv() const;
-protected:
- std::shared_ptr<Priv> m_priv;
+ // GKernel and params can be modified, it's needed for infer<Generic>,
+ // because information about output shapes doesn't exist in compile time
+ GKernel& kernel();
+ cv::util::any& params();
void setArgs(std::vector<GArg> &&args);
+protected:
+ std::shared_ptr<Priv> m_priv;
+
// Public versions return a typed array or opaque, those are implementation details
detail::GArrayU yieldArray(int output = 0);
detail::GOpaqueU yieldOpaque(int output = 0);