Minor cleanup. (#1885)

This commit is contained in:
Laurent Mazare 2024-03-20 14:38:27 +01:00 committed by GitHub
parent 455c42aa72
commit 469635a3eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -953,11 +953,7 @@ impl BackendStorage for MetalStorage {
k_layout: &Layout,
params: &ParamsConvTranspose1D,
) -> Result<Self> {
let device = self.device().clone();
let l_out = params.l_out();
let dst_el = params.c_out * l_out * params.b_size;
let dst_el = params.c_out * l_out * params.b_size;
let buffer = self
.device