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

add consistent is_black_box attributes

This commit is contained in:
Jin Yong Yoo
2020-10-06 16:42:21 -04:00
parent 79f3f4f8f0
commit 4893d47e6c
6 changed files with 11 additions and 9 deletions

View File

@@ -286,7 +286,7 @@ class GeneticAlgorithm(PopulationBasedSearch, ABC):
return transformation_consists_of_word_swaps(transformation)
@property
def is_blackbox(self):
def is_black_box(self):
return True
def extra_repr_keys(self):