Commit 2e836ca7 by Haibin Lin Committed by Tianqi Chen

declare type name for optional<TShape> (#429)

* declare type for optional tshape

* add doc

* move code to another place
parent a53d8d01
......@@ -611,6 +611,8 @@ struct hash<nnvm::TShape> {
} // namespace std
namespace dmlc {
/*! \brief description for optional TShape */
DMLC_DECLARE_TYPE_NAME(optional<nnvm::TShape>, "Shape or None");
// avoid low version of MSVC
#if !defined(_MSC_VER)
template<typename T>
......
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