Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .cpu() method to tiles and layers #149

Merged
merged 6 commits into from Mar 5, 2021

Conversation

diego-plan9
Copy link
Member

Related issues

#140

Description

Incremental update to #140:

  • add .cpu() methods to Tiles
  • add .cpu() methods to analog layers
  • update AnalogSequential.to()

Please note that moving tiles from GPU to CPU is still not supported with this change - an exception will be raised upon such operation. This PR attempts to get the semantics of .to() and .cpu() closer to pytorch in preparation for implementing the GPU to CPU moving logic.

Details

@diego-plan9 diego-plan9 merged commit 7c388f3 into IBM:master Mar 5, 2021
@diego-plan9 diego-plan9 deleted the feature/tile-cpu branch March 5, 2021 15:43
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.

None yet

2 participants