Skip to content

Conversation

@ezyang
Copy link
Contributor

@ezyang ezyang commented Aug 29, 2018

[pytorch][PR] Make Type a (mostly) pure virtual class; TypeDefault for impls (#11013)

Previously, the parent class Type also contained a large number
of implementations, for things like broadcasting and native
functions that didn't need dispatch. We'd like to be able
to reference this interface from Tensor even when we don't
have any of these implementations are available.

To do this, we convert Type into a truly pure virtual interface,
and move all of the implementations to TypeDefault.
GitHub Author: Edward Yang [email protected]

Differential Revision: D9561478

ezyang added 6 commits August 29, 2018 09:11
Differential Revision: D9557315
Differential Version: 56407314
Differential Revision: D9557315
Differential Version: 56413294
Differential Revision: D9557315
Differential Version: 56415719
Differential Revision: D9557315
Differential Version: 56424143
Differential Revision: D9557315
Differential Version: 56437859
Differential Revision: D9561478
Differential Version: 56437861
ezyang added 5 commits August 29, 2018 13:15
Differential Revision: D9561478
Differential Version: 56440382
Differential Revision: D9561478
Differential Version: 56440854
Differential Revision: D9557315
Differential Version: 56444203
Differential Revision: D9561478
Differential Version: 56446440
Differential Revision: D9561478
Differential Version: 56449391
@ezyang
Copy link
Contributor Author

ezyang commented Aug 29, 2018

@pytorchbot retest this please

1 similar comment
@ezyang
Copy link
Contributor Author

ezyang commented Aug 30, 2018

@pytorchbot retest this please

Differential Revision: D9561478
Differential Version: 56541404
@ezyang ezyang changed the base branch from export-D9557315 to master August 30, 2018 18:05
ezyang added 2 commits August 30, 2018 11:10
Differential Revision: D9561478
Differential Version: 56541860
Differential Revision: D9561478
Differential Version: 56652964
@ezyang ezyang changed the title Make Type a (mostly) pure virtual class; TypeBase for impls Make Type a (mostly) pure virtual class; TypeDefault for impls Aug 31, 2018
…11181)

Differential Revision: D9561478
Differential Version: 56766544
@ezyang ezyang changed the title Make Type a (mostly) pure virtual class; TypeDefault for impls [pytorch][PR] Make Type a (mostly) pure virtual class; TypeDefault for impls (#11013) Sep 2, 2018
ezyang added a commit to ezyang/pytorch that referenced this pull request Sep 2, 2018
…ch#11013) (pytorch#11013)

Summary:
Pull Request resolved: pytorch#11013

Previously, the parent class Type also contained a large number
of implementations, for things like broadcasting and native
functions that didn't need dispatch.  We'd like to be able
to reference this interface from Tensor even when we don't
have any of these implementations are available.

To do this, we convert Type into a truly pure virtual interface,
and move all of the implementations to TypeDefault.
Pull Request resolved: pytorch#11181

Differential Revision: D9561478

fbshipit-source-id: e0fb7c19aa088e8325d2c1bc4522234d5ecd5baf
Differential Revision: D9561478
Differential Version: 56766790
Differential Revision: D9561478
Differential Version: 56768709
zdevito pushed a commit to zdevito/ATen that referenced this pull request Sep 2, 2018
…3) (#11013)

Summary:
Pull Request resolved: pytorch/pytorch#11013

Previously, the parent class Type also contained a large number
of implementations, for things like broadcasting and native
functions that didn't need dispatch.  We'd like to be able
to reference this interface from Tensor even when we don't
have any of these implementations are available.

To do this, we convert Type into a truly pure virtual interface,
and move all of the implementations to TypeDefault.
Pull Request resolved: pytorch/pytorch#11181

Differential Revision: D9561478

Pulled By: ezyang

fbshipit-source-id: 13c49d80bc547551adf524b1cf1d691bfe311133
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
…ch#11013) (pytorch#11013)

Summary:
Pull Request resolved: pytorch#11013

Previously, the parent class Type also contained a large number
of implementations, for things like broadcasting and native
functions that didn't need dispatch.  We'd like to be able
to reference this interface from Tensor even when we don't
have any of these implementations are available.

To do this, we convert Type into a truly pure virtual interface,
and move all of the implementations to TypeDefault.
Pull Request resolved: pytorch#11181

Differential Revision: D9561478

Pulled By: ezyang

fbshipit-source-id: 13c49d80bc547551adf524b1cf1d691bfe311133
@PhilippPelz PhilippPelz mentioned this pull request Oct 17, 2018
10 tasks
@soumith soumith deleted the export-D9561478 branch February 21, 2019 12:09
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants