Skip to content

Commit

Permalink
[Bugfix] BuilderInput with default params (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
junrushao authored Dec 3, 2021
1 parent ab10735 commit 3b0983e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/tvm/meta_schedule/builder/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ class BuilderInput(Object):
target: Target
params: Optional[Dict[str, NDArray]]

def __init__(self, mod: IRModule, target: Target, params: Optional[Dict[str, NDArray]]) -> None:
def __init__(
self,
mod: IRModule,
target: Target,
params: Optional[Dict[str, NDArray]] = None,
) -> None:
"""Constructor.
Parameters
Expand Down

0 comments on commit 3b0983e

Please sign in to comment.