Commit 4dea1502 by Tianqi Chen

[BUILD] Make the core library compatible with msvc 13 (#167)

parent a1404e23
......@@ -611,12 +611,15 @@ struct hash<nnvm::TShape> {
} // namespace std
namespace dmlc {
// avoid low version of MSVC
#if !defined(_MSC_VER) || _MSC_VER >= 1900
template<typename T>
struct type_name_helper<nnvm::Tuple<T> > {
static inline std::string value() {
return "tuple of <" + type_name<T>() + ">";
}
};
#endif
}
#endif // NNVM_TUPLE_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment