refactor tfa in python
refactor tfa in python

simonsfoundation/inferelator_ng,AaronWatters/inferelator_ng,AaronWatters/inferelator_ng,AaronWatters/inferelator_ng,simonsfoundation/inferelator_ng,ryi06/inferelator_ng,ryi06/inferelator_ng,simonsfoundation/inferelator_ng