gemini-code-assist[bot] commented on code in PR #19709:
URL: https://github.com/apache/tvm/pull/19709#discussion_r3384555313
##########
include/tvm/s_tir/meta_schedule/cost_model.h:
##########
@@ -142,19 +134,17 @@ class PyCostModelNode : public CostModelNode {
class CostModel : public ffi::ObjectRef {
public:
/*!
- * \brief Create a feature extractor with customized methods on the
python-side.
+ * \brief Create a cost model with customized methods on the python-side.
* \param f_load The packed function of `Load`.
* \param f_save The packed function of `Save`.
* \param f_update The packed function of `Update`.
* \param f_predict The packed function of `Predict`.
- * \param f_as_string The packed function of `AsString`.
- * \return The feature extractor created.
+ * \return The cost model created.
Review Comment:

There is a copy-paste typo in the docstring for `CostModel::PyCostModel`. It
refers to a "feature extractor" instead of a "cost model". Please update it to
refer to "cost model". Note that the first line of this docstring (which is
outside the diff hunk) also contains "Create a feature extractor..." and should
be updated to "Create a cost model..." as well.
```c
* \return The cost model created.
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]