mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Add fixes and tests for different layers
This commit is contained in:
@@ -354,9 +354,12 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
|
||||
const int requiredOutputs,
|
||||
std::vector<MatShape> &outputs,
|
||||
std::vector<MatShape> &internals) const;
|
||||
|
||||
virtual int64 getFLOPS(const std::vector<MatShape> &inputs,
|
||||
const std::vector<MatShape> &outputs) const {CV_UNUSED(inputs); CV_UNUSED(outputs); return 0;}
|
||||
|
||||
virtual bool updateMemoryShapes(const std::vector<MatShape> &inputs);
|
||||
|
||||
CV_PROP String name; //!< Name of the layer instance, can be used for logging or other internal purposes.
|
||||
CV_PROP String type; //!< Type name which was used for creating layer by layer factory.
|
||||
CV_PROP int preferableTarget; //!< prefer target for layer forwarding
|
||||
|
||||
Reference in New Issue
Block a user