1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

add isort and fix import loops, preparing to shorten tests

This commit is contained in:
Jack Morris
2020-06-15 20:40:44 -04:00
parent e93f456d07
commit 07e927e3e4
75 changed files with 197 additions and 137 deletions

View File

@@ -5,9 +5,10 @@ by Alzantot et. al
`<github.com/nesl/nlp_adversarial_examples>`_
"""
from copy import deepcopy
import numpy as np
import torch
from copy import deepcopy
from textattack.search_methods import SearchMethod
from textattack.shared.validators import transformation_consists_of_word_swaps