• Karl Ostmo's avatar
    Fix several errors in tests run by Travis (#380) · 9801caf6
    Karl Ostmo authored
    * Declare file encoding to support special characters
    
    * fix missing utf_8_encoder error in Travis tests
    
    * Py 2.7 backwards-compat iterator
    
    * ensure integer argument to torch.nn.functional.pad
    
    * cast match.ceil result as integer
    9801caf6
functional.py 44.5 KB