Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does ArgMax support only one blob? #324

Closed
cook opened this issue Mar 31, 2018 · 0 comments
Closed

Does ArgMax support only one blob? #324

cook opened this issue Mar 31, 2018 · 0 comments

Comments

@cook
Copy link
Contributor

cook commented Mar 31, 2018

There is a contradiction in the definition of the ArgMax layer:

From the below code, the member one_blob_only is false,

ArgMax::ArgMax()
{
}

But from the definition of the class ArgMax, forward(const Mat&, Mat&) is declared rather than forward(const std::vector<Mat>&, std::vector<Mat>&), so the one_blob_only should be true.

class ArgMax : public Layer
{
public:
   //...
    virtual int forward(const Mat& bottom_blob, Mat& top_blob) const;
   //...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants