Closed hmd101 closed 3 months ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Attention: Patch coverage is 93.75000%
with 2 lines
in your changes are missing coverage. Please review.
Project coverage is 88.53%. Comparing base (
efa5c46
) to head (cd3211a
).
Files | Patch % | Lines |
---|---|---|
src/plenoptic/synthesize/synthesis.py | 66.66% | 1 Missing :warning: |
src/plenoptic/tools/signal.py | 50.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Replaced
torch.tensor
withtorch.as_tensor
in order to save memory. Note that torch.as_tensor only shares the parametersdata
,dtype
, anddevice
with torch.tensor, which has additional parameters, such asrequired_grad
. Adjustments were made accordingly.Example:
Resolves issue #31 .