Make 'assimilation' differentiable/vectorized#71
Conversation
SarahAlidoost
left a comment
There was a problem hiding this comment.
@SCiarella I suggested a few changes so the tests can pass. If you agree, let's implement the suggestions. If something not clear, let me know.
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
|
@SarahAlidoost thanks for the suggestions! I have implemented all of them. I think that masking the average was the crucial point, causing the failure of the tests. |
| return {"PGASS": torch.stack([item["PGASS"] for item in results])} | ||
|
|
||
|
|
||
| def _afgen_y_mask(table_1d: torch.Tensor) -> torch.Tensor: |
There was a problem hiding this comment.
I think this function is better to be in utils.
SarahAlidoost
left a comment
There was a problem hiding this comment.
@SCiarella thanks for addressing comments. Just some minor changes for doctring and a test function that can be moved to utils. Then go ahead with merging 👍
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
|



closes #42