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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user