fix pad calls

This commit is contained in:
Pierric Cistac
2020-02-05 14:49:47 -05:00
parent 41fee6de3d
commit 3adf199a0c
2 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ impl Encoding {
Ok(self
.encoding
.pad(length, pad_id, pad_type_id, pad_token, &direction))
.pad(length, pad_id, pad_type_id, pad_token, direction))
}
#[args(kwargs = "**")]