Skip to content

Python 3.x, Pytorch 2.x compatability fixes - #68

Open
prasad83 wants to merge 2 commits into
xiaojunxu:masterfrom
prasad83:master
Open

Python 3.x, Pytorch 2.x compatability fixes#68
prasad83 wants to merge 2 commits into
xiaojunxu:masterfrom
prasad83:master

Conversation

@prasad83

Copy link
Copy Markdown

Python 3.x changes

  • print "ABC" to print ("ABC")
  • [] + map( ... ) to [] + list(map( .... ) )

Pytorch 2.x changes

  • hidden_size should be int instead of float
  • tensor.numpy() to tensor.numpy().flatten()

Sign up for freeto 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

@prasad83