Skip to content

Updated the documentation for the fastfn function with default argume… #4651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions pymc3/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class ContextMeta(type):
the `with` statement.
"""

def __new__(cls, name, bases, dct, **kargs): # pylint: disable=unused-argument
def __new__(cls, name, bases, dct, **kwargs): # pylint: disable=unused-argument
"Add __enter__ and __exit__ methods to the class."

def __enter__(self):
Expand All @@ -160,7 +160,7 @@ def __exit__(self, typ, value, traceback): # pylint: disable=unused-argument

# We strip off keyword args, per the warning from
# StackExchange:
# DO NOT send "**kargs" to "type.__new__". It won't catch them and
# DO NOT send "**kwargs" to "type.__new__". It won't catch them and
# you'll get a "TypeError: type() takes 1 or 3 arguments" exception.
return super().__new__(cls, name, bases, dct)

Expand Down Expand Up @@ -1398,7 +1398,7 @@ def makefn(self, outs, mode=None, *args, **kwargs):
Parameters
----------
outs: Aesara variable or iterable of Aesara variables
mode: Aesara compilation mode
mode: Aesara compilation mode, default=None

Returns
-------
Expand Down Expand Up @@ -1722,7 +1722,8 @@ def fn(outs, mode=None, model=None, *args, **kwargs):
Parameters
----------
outs: Aesara variable or iterable of Aesara variables
mode: Aesara compilation mode
mode: Aesara compilation mode, default=None
model: Model, default=None

Returns
-------
Expand Down