Skip to content

fast code path when partition=1 which makes LengthsPartition a simple copy#11351

Closed
jspark1105 wants to merge 1 commit intopytorch:masterfrom
jspark1105:export-D9693409
Closed

fast code path when partition=1 which makes LengthsPartition a simple copy#11351
jspark1105 wants to merge 1 commit intopytorch:masterfrom
jspark1105:export-D9693409

Conversation

@jspark1105
Copy link
Contributor

Summary: When partitions == 1 (InputSize() == OutputSize()), LengthsPartition becomes just a copy.

Differential Revision: D9693409

… copy (pytorch#11351)

Summary:
Pull Request resolved: pytorch#11351

When partitions == 1 (InputSize() == OutputSize()), LengthsPartition becomes just a copy.

Reviewed By: aazzolini

Differential Revision: D9693409

fbshipit-source-id: f1227bfee590eac6d5405dbb2395b12843f2350c
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
… copy (pytorch#11351)

Summary:
Pull Request resolved: pytorch#11351

When partitions == 1 (InputSize() == OutputSize()), LengthsPartition becomes just a copy.

Reviewed By: aazzolini

Differential Revision: D9693409

fbshipit-source-id: a9ea034d227af357b661477ab779a71600f58f58
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants