Skip to content

Commit

Permalink
Merge branch 'master' into feat/skorch-compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
34j authored Sep 23, 2024
2 parents 8e46fb5 + cae7ccf commit eddecf8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
uses: tj-actions/changed-files@v41
with:
files: |
docs/**
examples/**
README.md
CHANGELOG.md
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'python': ('https://docs.python.org/3', None),
'numpy': ('http://docs.scipy.org/doc/numpy', None),
'pandas': ('http://pandas.pydata.org/pandas-docs/dev', None),
'torch': ('https://pytorch.org/docs/master', None),
'torch': ('https://pytorch.org/docs/stable', None),
'optuna': ('https://optuna.readthedocs.io/en/stable/', None),
'xgboost': ('https://xgboost.readthedocs.io/en/stable/', None),
}
Expand Down
1 change: 1 addition & 0 deletions torch_frame/nn/encoder/stype_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@ def encode_forward(
# -> [batch_size, out_channels]
x_lin = feat.values[:, start_idx:end_idx] @ self.weight_list[idx]
x_lins.append(x_lin)
start_idx = end_idx
# [batch_size, num_cols, out_channels]
x = torch.stack(x_lins, dim=1)
# [batch_size, num_cols, out_channels] + [num_cols, out_channels]
Expand Down

0 comments on commit eddecf8

Please sign in to comment.