diff --git a/include/tvm/relay/expr.h b/include/tvm/relay/expr.h
index 142982d48907f881109ea792bf059b35ce2fe37a..566acf96e2e9ec6bac484439b62c6c2f16005008 100644
--- a/include/tvm/relay/expr.h
+++ b/include/tvm/relay/expr.h
@@ -388,14 +388,6 @@ class TupleGetItemNode : public ExprNode {
 
 RELAY_DEFINE_NODE_REF(TupleGetItem, TupleGetItemNode, Expr);
 
-/*! \brief Print a debug representation of the expression to the stream.
- *  \param env The environment.
- *  \param e The expression
- *  \param os the stream
- *  \returns A reference to the stream.
- */
-std::ostream& DebugPrint(const Environment& env, const Expr& e, std::ostream& os);
-
 }  // namespace relay
 }  // namespace tvm
 #endif  // TVM_RELAY_EXPR_H_
diff --git a/include/tvm/relay/type.h b/include/tvm/relay/type.h
index 6ff2be5e69d734d1f67b49886e310e6f31380036..a2d15a05d454dfb7bc531e875a53bc03f76f6c81 100644
--- a/include/tvm/relay/type.h
+++ b/include/tvm/relay/type.h
@@ -379,14 +379,6 @@ class TypeRelationNode : public TypeConstraintNode {
 
 RELAY_DEFINE_NODE_REF(TypeRelation, TypeRelationNode, TypeConstraint);
 
-/*! \brief Print a debug representation of the type to the stream.
- *  \param env The environment.
- *  \param t The type
- *  \param os the stream
- *  \returns A reference to the stream.
- */
-std::ostream& DebugPrint(const Environment& env, const Type& t, std::ostream& os);
-
 // The following fields contains advanced typing
 // Only keep the class name and reserved for future usage.
 class GenericTensorType;