From 5742995da0e4de2a2345a77560fbec09b5c2755a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=9B=BE=E9=9B=A8=E9=AD=94=E7=90=86=E6=B2=99?=
 <lolisa@marisa.moe>
Date: Thu, 25 Oct 2018 09:49:42 -0700
Subject: [PATCH] Cleanup deadcode (#1991)

---
 include/tvm/relay/expr.h | 8 --------
 include/tvm/relay/type.h | 8 --------
 2 files changed, 16 deletions(-)

diff --git a/include/tvm/relay/expr.h b/include/tvm/relay/expr.h
index 142982d48..566acf96e 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 6ff2be5e6..a2d15a05d 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;
-- 
GitLab