• Farhad Ramezanghorbani's avatar
    [JIT] Add TorchScript compatibility for AEVComputer (#303) · f2170e24
    Farhad Ramezanghorbani authored
    * make aev,model compatible with jit
    
    * add type annotation to nn
    
    * flake8 fix
    
    * refactor AEVComputer
    
    * fix doc
    
    * an example with padding
    
    * use Optional type instead of padding
    
    * fix
    
    * fix
    
    * make pbc and cell keyword arguments in test_aev
    
    * fix
    
    * make pbc and cell keyword arguments in ase
    
    * fix
    
    * fix
    
    * fix dtype
    
    * fix
    
    * aev_computer dtype to double
    
    * change test files to have aev_computer with keyword argument
    
    * fix JIT types
    
    * add TestAEVJIT
    
    * fix LGTM alerts
    
    * fix TestAEVJIT
    
    * Update aev.py
    
    workaround for dtype in `torch.arange`
    
    * More arange bugs
    
    * Even more arange
    
    * fix LGTM alert
    f2170e24
test_aev.py 19.6 KB