Skip to content

Commit

Permalink
More docstrings for module fields
Browse files Browse the repository at this point in the history
  • Loading branch information
slyubomirsky committed Feb 1, 2019
1 parent 8d1ae1f commit 06bc958
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/tvm/relay/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class ModuleNode : public RelayNode {
public:
/*! \brief A map from ids to all global functions. */
tvm::Map<GlobalVar, Function> functions;
/*! \brief A map from global type vars to ADT type data. */
tvm::Map<GlobalTypeVar, TypeData> type_definitions;

/*! \brief The entry function (i.e. "main"). */
Expand Down Expand Up @@ -170,6 +171,10 @@ class ModuleNode : public RelayNode {
* ensures global uniqueness.
*/
tvm::Map<std::string, GlobalVar> global_var_map_;

/*! \brief A map from string names to global type variables (ADT names)
* that ensures global uniqueness.
*/
tvm::Map<std::string, GlobalTypeVar> global_type_var_map_;
};

Expand Down

0 comments on commit 06bc958

Please sign in to comment.