diff --git a/relay/include/relay/environment.h b/relay/include/relay/environment.h index 1bba18839d6cb..658d176f732a2 100644 --- a/relay/include/relay/environment.h +++ b/relay/include/relay/environment.h @@ -1,5 +1,5 @@ /*! - * Copyright (c) 2017 by Contributors + * Copyright (c) 2018 by Contributors * \file environment.h * \brief The global environment containing */ diff --git a/relay/include/relay/node.h b/relay/include/relay/node.h index 388699e2f1610..d1f12ca68ecb5 100644 --- a/relay/include/relay/node.h +++ b/relay/include/relay/node.h @@ -421,7 +421,7 @@ TVM_DEFINE_NODE_REF(LocalId, LocalIdNode); class GlobalId; -/*! \brief A LocalId from the node's current type to target type. */ +/*! \brief A GlobalId from the node's current type to target type. */ class GlobalIdNode : public ExprNode { public: std::string name; @@ -440,7 +440,7 @@ TVM_DEFINE_NODE_REF(GlobalId, GlobalIdNode); class IntrinsicId; -/*! \brief A LocalId from the node's current type to target type. */ +/*! \brief A IntrinsicId from the node's current type to target type. */ class IntrinsicIdNode : public ExprNode { public: std::string name; @@ -459,7 +459,7 @@ TVM_DEFINE_NODE_REF(IntrinsicId, IntrinsicIdNode) class Param; -/*! \brief A cast from the node's current type to target type. */ +/*! \brief A parameter. */ class ParamNode : public ExprNode { public: LocalId id; @@ -482,7 +482,7 @@ TVM_DEFINE_NODE_REF(Param, ParamNode) class Function; -/*! \brief A cast from the node's current type to target type. */ +/*! \brief A function. */ class FunctionNode : public ExprNode { public: tvm::Array params; @@ -505,7 +505,7 @@ TVM_DEFINE_NODE_REF(Function, FunctionNode) class Call; -/*! \brief A cast from the node's current type to target type. */ +/*! \brief A call. */ class CallNode : public ExprNode { public: Expr fn; @@ -528,7 +528,7 @@ TVM_DEFINE_NODE_REF(Call, CallNode) class Debug; -/*! \brief A cast from the node's current type to target type. */ +/*! \brief Debug. */ class DebugNode : public ExprNode { public: Expr node; @@ -551,7 +551,7 @@ enum UOp : int { NEG = 0, }; -/*! \brief A cast from the node's current type to target type. */ +/*! \brief Unary Operator. */ class UnaryOpNode : public ExprNode { public: UOp op; @@ -587,7 +587,7 @@ enum BinOp : int { GE = 9 }; -/*! \brief A cast from the node's current type to target type. */ +/*! \brief A Binary Operator. */ class BinaryOpNode : public ExprNode { public: BinOp op; @@ -614,7 +614,7 @@ class Assignment; // TODO(jroesch) : make me contain the proper fields. -/*! \brief A cast from the node's current type to target type. */ +/*! \brief Assignment. */ class AssignmentNode : public ExprNode { public: tvm::Map assignments; @@ -718,7 +718,6 @@ class ProjectionNode : public ExprNode { TVM_DEFINE_NODE_REF(Projection, ProjectionNode); -/*! \brief Base type of the Relay item hiearchy. */ struct ItemNode : Node { public: GlobalId id; @@ -741,7 +740,6 @@ struct Item : public NodeRef { class Primitive; -/*! \brief A cast from the node's current type to target type. */ class PrimitiveNode : public ItemNode { public: Type type; @@ -763,7 +761,6 @@ TVM_DEFINE_NODE_REF(Primitive, PrimitiveNode); class Defn; -/*! \brief A cast from the node's current type to target type. */ class DefnNode : public ItemNode { public: Type type; diff --git a/relay/src/relay/environment.cc b/relay/src/relay/environment.cc index ce025c98de677..cd385147ab5a5 100644 --- a/relay/src/relay/environment.cc +++ b/relay/src/relay/environment.cc @@ -1,6 +1,6 @@ /*! * Copyright (c) 2018 by Contributors - * \file node.cc + * \file environment.cc * \brief Relay node data structure. */ #include