1. 16 5月, 2024 1 次提交
    • Ricardo Vieira's avatar
      Fix Choice and Permutation not respecting the RandomVariable contract · d80c0bf7
      Ricardo Vieira 提交于
      These two RVs don't fall into the traditional RandomVariable contract because they don't have a concept of `batch_ndim`s. The hard-coded ndim params and ndim support were wrong and need to be defined for every node.
      
      * ChoiceRV was removed in favor of ChoiceWithoutReplacementRV which handles the cases without replacement. Those with replacement can be trivially be implemented with other basic RVs.
      * Both Permutation and ChoiceWithoutReplacement now support batch ndims
      * Avoid materializing the implicit arange
      d80c0bf7
  2. 14 5月, 2024 7 次提交
  3. 12 5月, 2024 1 次提交
  4. 10 5月, 2024 5 次提交
  5. 09 5月, 2024 1 次提交
  6. 08 5月, 2024 1 次提交
  7. 07 5月, 2024 2 次提交
  8. 06 5月, 2024 1 次提交
  9. 03 5月, 2024 1 次提交
  10. 01 5月, 2024 2 次提交
  11. 30 4月, 2024 3 次提交
  12. 29 4月, 2024 1 次提交
  13. 28 4月, 2024 2 次提交
  14. 26 4月, 2024 2 次提交
  15. 24 4月, 2024 1 次提交
  16. 22 4月, 2024 1 次提交
  17. 21 4月, 2024 2 次提交
  18. 20 4月, 2024 1 次提交
  19. 19 4月, 2024 1 次提交
  20. 17 4月, 2024 2 次提交
  21. 15 4月, 2024 1 次提交
  22. 13 4月, 2024 1 次提交