Skip to content

Commit

Permalink
Remove duplicate function def.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxybazh committed Jan 7, 2022
1 parent 4df0194 commit 81cd0b1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/tir/schedule/primitive.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@
namespace tvm {
namespace tir {

/*!
* \brief Create a sampling function that does multinomial sampling.
* \param rand_state The random state.
* \param weights The weights for multinomial sampling.
* \return The multinomial sampling function.
*/
TVM_DLL std::function<int32_t()> MakeMultinomialSampler(
support::LinearCongruentialEngine::TRandState* rand_state, const std::vector<double>& weights);

/******** Schedule: Sampling ********/
/*!
* \brief Sample a random integer from a given range.
Expand Down

0 comments on commit 81cd0b1

Please sign in to comment.