Skip to content

Conversation

@jamarshon
Copy link
Contributor

Moving functions from torch/nn/modules/activation.py to torch/nn/functional.py. For functions not implemented (_get_input_buffer and _set_input_buffer), a TODO is added.

@pytorchbot pytorchbot added the module: nn Related to torch.nn label May 12, 2019
@cpuhrsch cpuhrsch changed the title T43883250 Split nn.MultiHeadAttention into Module + functional [WIP]Split nn.MultiHeadAttention into Module + functional May 13, 2019
@cpuhrsch cpuhrsch requested a review from zhangguanheng66 May 13, 2019 14:33
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamarshon has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamarshon has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamarshon has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamarshon has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@cpuhrsch cpuhrsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once all tests pass this should be good to. cc @zhangguanheng66

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamarshon has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@cpuhrsch
Copy link
Contributor

Current test failures are due to temporary CI outages and restricted to AMD and Windows only.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamarshon has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@jamarshon jamarshon changed the title [WIP]Split nn.MultiHeadAttention into Module + functional Split nn.MultiHeadAttention into Module + functional May 14, 2019
@facebook-github-bot
Copy link
Contributor

@jamarshon merged this pull request in 6e82b1c.

@zhangguanheng66
Copy link
Contributor

@ezyang

@jamarshon jamarshon deleted the T43883250 branch May 15, 2019 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: nn Related to torch.nn

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants