Skip to content

Commit

Permalink
Finalize UCI example
Browse files Browse the repository at this point in the history
  • Loading branch information
pomonam committed Jun 26, 2024
1 parent 4bcc81d commit 7eabaf6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/uci/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
from torch.utils.data import Dataset


def construct_regression_mlp() -> nn.Module:
num_inputs = 8
def construct_regression_mlp(num_inputs: int = 8) -> nn.Module:
model = torch.nn.Sequential(
nn.Linear(num_inputs, 128, bias=True),
nn.ReLU(),
Expand Down

0 comments on commit 7eabaf6

Please sign in to comment.