Skip to content

Add distributions, tensor factories, and RNG operators to Bonsai.ML.Torch#79

Merged
glopesdev merged 16 commits intobonsai-rx:mainfrom
ncguilbeault:dev/torch-distributions-random
Mar 12, 2026
Merged

Add distributions, tensor factories, and RNG operators to Bonsai.ML.Torch#79
glopesdev merged 16 commits intobonsai-rx:mainfrom
ncguilbeault:dev/torch-distributions-random

Conversation

@ncguilbeault
Copy link
Collaborator

This PR introduces new operators that support creation of tensors filled with random values, explicitly managing random number generation with reproducible seeds, as well as methods for interacting with probability distributions, such as drawing samples, computing probabilities, etc. These methods add to the existing Bonsai.ML.Torch package and generally introduce probabilistic functionality from Torch using tensor operators.

The PR in #77 should be merged first before this one.

@ncguilbeault ncguilbeault force-pushed the dev/torch-distributions-random branch from 71c5a13 to 338265a Compare December 19, 2025 13:58
@ncguilbeault ncguilbeault force-pushed the dev/torch-distributions-random branch from 338265a to c26e79a Compare January 13, 2026 11:37
@ncguilbeault ncguilbeault force-pushed the dev/torch-distributions-random branch from c26e79a to 53edb46 Compare January 13, 2026 12:46
@ncguilbeault ncguilbeault requested a review from glopesdev March 6, 2026 11:46
@glopesdev glopesdev changed the title Added distributions, tensor factories for random numbers, and RNG operators to Bonsai.ML.Torch Add distributions, tensor factories for random numbers, and RNG operators to Bonsai.ML.Torch Mar 12, 2026
@glopesdev glopesdev added this to the v0.5.0 milestone Mar 12, 2026
@glopesdev glopesdev changed the title Add distributions, tensor factories for random numbers, and RNG operators to Bonsai.ML.Torch Add distributions, tensor factories, and RNG operators to Bonsai.ML.Torch Mar 12, 2026
@glopesdev glopesdev merged commit aebccbd into bonsai-rx:main Mar 12, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants