Skip to content

Commit 6b79f20

Browse files
authored
Fix fmt by re-running pre-commit (#671)
1 parent de70b7d commit 6b79f20

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

backends/ort/src/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,11 @@ impl Backend for OrtBackend {
206206
Pool::Cls => outputs.slice(s![.., 0, ..]).into_owned().into_dyn(),
207207
Pool::LastToken => {
208208
let axis_len = outputs.len_of(Axis(1));
209-
outputs.slice(s![.., axis_len - 1, ..]).into_owned().into_dyn()
210-
},
209+
outputs
210+
.slice(s![.., axis_len - 1, ..])
211+
.into_owned()
212+
.into_dyn()
213+
}
211214
// Mean pooling
212215
Pool::Mean => {
213216
if masking {

0 commit comments

Comments
 (0)