Skip to content

Proposal to infer Torch's generator state from the Numpy one

Codecov / codecov/patch failed Dec 8, 2024 in 1s

87.23% of diff hit (target 100.00%)

View this Pull Request on Codecov

87.23% of diff hit (target 100.00%)

Annotations

Check warning on line 31 in pytensor/link/pytorch/dispatch/basic.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pytensor/link/pytorch/dispatch/basic.py#L31

Added line #L31 was not covered by tests

Check warning on line 35 in pytensor/link/pytorch/dispatch/random.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pytensor/link/pytorch/dispatch/random.py#L34-L35

Added lines #L34 - L35 were not covered by tests

Check warning on line 43 in pytensor/link/pytorch/dispatch/random.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pytensor/link/pytorch/dispatch/random.py#L43

Added line #L43 was not covered by tests

Check warning on line 53 in pytensor/link/pytorch/dispatch/random.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pytensor/link/pytorch/dispatch/random.py#L53

Added line #L53 was not covered by tests