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

@@ -1,10 +1,11 @@
import math
import lru
import numpy as np
import torch
import math
from textattack.shared.utils import batch_model_predict, default_class_repr
from textattack.shared import utils, validators
from textattack.shared.utils import batch_model_predict, default_class_repr
class GoalFunction: