21.02
|
Generate Proposals Layer. More...
#include <Layers.h>
Public Member Functions | |
GenerateProposalsLayer (SubStream &&ss_scores, SubStream &&ss_deltas, SubStream &&ss_anchors, GenerateProposalsInfo info) | |
Construct a generate proposals layer. More... | |
NodeID | create_layer (IStream &s) override |
Create layer and add to the given stream. More... | |
![]() | |
virtual | ~ILayer ()=default |
Default destructor. More... | |
ILayer & | set_name (std::string name) |
Sets the name of the layer. More... | |
const std::string & | name () const |
Layer name accessor. More... | |
|
inline |
Construct a generate proposals layer.
[in] | ss_scores | Graph sub-stream for the scores. |
[in] | ss_deltas | Graph sub-stream for the deltas. |
[in] | ss_anchors | Graph sub-stream for the anchors. |
[in] | info | Generate Proposals operation information. |
Definition at line 814 of file Layers.h.
Create layer and add to the given stream.
[in] | s | Stream to add layer to. |
Implements ILayer.
Definition at line 825 of file Layers.h.
References GraphBuilder::add_generate_proposals_node(), IStream::graph(), IStream::hints(), ILayer::name(), and StreamHints::target_hint.