deephealthproject / eddl

European Distributed Deep Learning (EDDL) library. A general-purpose library initially developed to cover deep learning needs in healthcare use cases within the DeepHealth project.
https://deephealthproject.github.io/eddl/
MIT License
34 stars 10 forks source link

Errors in Norm, NormMax, NormMinMax #287

Closed simleo closed 3 years ago

simleo commented 3 years ago

Code:

#include "eddl/apis/eddl.h"

using namespace eddl;

int main(int argc, char **argv) {
    layer in = Input({16});
    layer n = Norm(in);
}

Output:

terminate called after throwing an instance of 'std::runtime_error'
  what():  axis 1 >= dim=1
Aborted (core dumped)
chavicoski commented 3 years ago

Fixed. Thanks!