Skip to content

Remove detach from TensorImpl, handle via Type.#11337

Closed
gchanan wants to merge 1 commit intopytorch:masterfrom
gchanan:core_detach2
Closed

Remove detach from TensorImpl, handle via Type.#11337
gchanan wants to merge 1 commit intopytorch:masterfrom
gchanan:core_detach2

Conversation

@gchanan
Copy link
Contributor

@gchanan gchanan commented Sep 6, 2018

This is so that TensorImpl does not have to depend on Tensor.

This is so that TensorImpl does not have to depend on Tensor.
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.

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

return self.clone();
}

Tensor VariableType::detach(const Tensor & self) const {

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

zdevito pushed a commit to zdevito/ATen that referenced this pull request Sep 7, 2018
Summary:
This is so that TensorImpl does not have to depend on Tensor.
Pull Request resolved: pytorch/pytorch#11337

Differential Revision: D9684421

Pulled By: gchanan

fbshipit-source-id: d2af93420ca6d493429c251cfe5a34e9289c4484
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
This is so that TensorImpl does not have to depend on Tensor.
Pull Request resolved: pytorch#11337

Differential Revision: D9684421

Pulled By: gchanan

fbshipit-source-id: d2af93420ca6d493429c251cfe5a34e9289c4484
@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