Skip to content

Commit

Permalink
change naming shape->size where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
bwengals authored and bwengals committed Oct 28, 2021
1 parent 31150c3 commit 03c2a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymc/gp/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def replace_with_value(vars_needed, replacements: Dict):
return fn(**replacements)


def infer_shape(X, n_points=None):
def infer_size(X, n_points=None):
R"""
Maybe attempt to infer the shape of a Gaussian process input matrix.
Maybe attempt to infer the size, or N, of a Gaussian process input matrix.
If a specific shape cannot be inferred, for instance if X is symbolic, then an
error is raised.
Expand Down

0 comments on commit 03c2a13

Please sign in to comment.