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.
#include "eddl/apis/eddl.h"
using namespace eddl;
int main(int argc, char **argv) {
layer l1 = Input({5});
layer l2 = Input({5});
layer c = Input({5});
layer w = Where(l1, l2, c);
}
Output:
==================================================================
⚠️ This layers only can have one parent layer (input2) ⚠️
==================================================================
terminate called after throwing an instance of 'std::runtime_error'
what(): RuntimeError: input2
Aborted (core dumped)
Code:
Output: