Fix spec string of convolution layer (#3499)

This commit is contained in:
nagadomi 2021-07-17 00:21:52 +09:00 committed by GitHub
parent 88d4028a5a
commit 7fe0624838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ public:
~Convolve() override = default;
std::string spec() const override {
return "C" + std::to_string(half_x_ * 2 + 1) + "," + std::to_string(half_y_ * 2 + 1);
return "C" + std::to_string(half_y_ * 2 + 1) + "," + std::to_string(half_x_ * 2 + 1);
}
// Writes to the given file. Returns false in case of error.