csullivan commented on code in PR #15596:
URL: https://github.com/apache/tvm/pull/15596#discussion_r1318821743


##########
include/tvm/runtime/registry.h:
##########
@@ -97,6 +97,46 @@ namespace runtime {
  */
 TVM_DLL void EnvCheckSignals();
 
+/*! \brief Preserve a Python object while */

Review Comment:
   ```suggestion
   /*! \brief A class that wraps a Python object and preserves its ownership.
   
    * This class is used to wrap a PyObject* from the Python API and preserve 
its ownership. 
    * Allows for the creation of strong references to Python objects, which 
prevent them from being 
    * garbage-collected as long as the wrapper object exists.
    */
   ```
   
   Truncated docstring



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to