mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
more docs updates
This commit is contained in:
@@ -222,7 +222,8 @@ class Attack:
|
||||
yield result
|
||||
|
||||
def __repr__(self):
|
||||
""" Prints attack parameters in a human-readable string.
|
||||
"""
|
||||
Prints attack parameters in a human-readable string.
|
||||
|
||||
Inspired by the readability of printing PyTorch nn.Modules:
|
||||
https://github.com/pytorch/pytorch/blob/master/torch/nn/modules/module.py
|
||||
|
||||
Reference in New Issue
Block a user