junrushao1994 commented on a change in pull request #8817:
URL: https://github.com/apache/tvm/pull/8817#discussion_r694376471
##########
File path: python/tvm/tir/schedule/schedule.py
##########
@@ -268,6 +296,19 @@ def remove_rv(self, rand_var: RAND_VAR_TYPE) -> None:
########## Schedule: Sampling ##########
+ def sample_categorical(
+ self,
+ candidates: List[int],
+ probs: List[float],
+ decision: Optional[int] = None,
+ ) -> ExprRV:
Review comment:
please doc the methods :-)
--
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]