SQLNet icon indicating copy to clipboard operation
SQLNet copied to clipboard

Python 3.x, Pytorch 2.x compatability fixes

Open prasad83 opened this issue 2 years ago • 0 comments

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()

prasad83 avatar May 03 '23 08:05 prasad83