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

Accomodation for various datatypes #70

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

kr-hari
Copy link

@kr-hari kr-hari commented May 28, 2019

This repo can be really helpful to compare the memory occupied by a network when its datatype is changed. Currently it accepts only 'torch.FloatTensor' as datatype. The code has been edited and tested so as to accept any network datatype (eg. 'torch.HalfTensor','torch.DoubleTensor').

It also handles conversion of model to GPU (earlier error was thrown when network was in CPU while GPU is available) .

@kr-hari kr-hari changed the title Accomodation for various datatypes provided Accomodation for various datatypes May 29, 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.

1 participant