1
0
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:
uvafan
2020-05-20 14:26:46 -04:00
parent 49bcce8101
commit 93741a7b8b
27 changed files with 211 additions and 168 deletions

View File

@@ -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