anijain2305 commented on a change in pull request #4927: [Relay][Pass] Add 
inline pass
URL: https://github.com/apache/incubator-tvm/pull/4927#discussion_r384813972
 
 

 ##########
 File path: include/tvm/relay/expr.h
 ##########
 @@ -221,6 +221,13 @@ class FunctionNode : public BaseFuncNode {
    */
   bool IsPrimitive() const;
 
+  /*!
+   * \brief Check whether the function is marked as inline.
+   *
+   * \return Whether the function should be inlined or not.
+   */
+  bool IsInline() const;
 
 Review comment:
   Is `IsMarkedInline` a better name? IsInline seems like the function is 
already inlined.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to