Skip to content

Commit

Permalink
codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgayoso committed Feb 4, 2021
1 parent 427c5b4 commit 2f9f8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scvi/compose/_base_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ def __init__(self):
def _get_fn_args_from_batch(
tensor_dict: Dict[str, torch.Tensor]
) -> Union[Iterable, dict]:
"""Parse the minibatched data to get the correct inputs for `model` and `guide`.
"""
Parse the minibatched data to get the correct inputs for `model` and `guide`.
In Pyro, `model` and `guide` must have the same signature. This is a helper method
that gets the args and kwargs for these two methods. This helper method aids `forward` and
Expand All @@ -228,7 +229,6 @@ def _get_fn_args_from_batch(
-------
args and kwargs for the functions, args should be an Iterable and kwargs a dictionary.
"""
pass

def forward(self, *args, **kwargs):
"""Passthrough to Pyro model."""
Expand Down

0 comments on commit 2f9f8a6

Please sign in to comment.