Skip to content

Commit

Permalink
Update src/nemos/basis/_basis.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Jo Venditto <[email protected]>
  • Loading branch information
BalzaniEdoardo and sjvenditto authored Dec 18, 2024
1 parent f0cb040 commit 090fa40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nemos/basis/_basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def n_output_features(self) -> int | None:
-----
The number of output features can be determined only when the number of inputs
provided to the basis is known. Therefore, before the first call to ``compute_features``,
this property will return ``None``. After that call, ``n_output_features`` will be available.
this property will return ``None``. After that call, or after setting the input shape with ``set_input_shape``, ``n_output_features`` will be available.
"""
if self._n_basis_input_ is not None:
return self.n_basis_funcs * self._n_basis_input_[0]
Expand Down

0 comments on commit 090fa40

Please sign in to comment.