Fatal Error terminate called after throwing an instance of 'std::runtime_error' what(): bad data type

Hmm, that indicates it might be a problem with mkldnn.

Can you try disabling it with Nd4j.getEnvironment().allowHelpers(false);?