Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Oct 31, 2023
1 parent 9602362 commit 8066834
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/utils/dimensionality_operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ function squeeze(X::AbstractArray{T, N}; pattern="column") where {T, N}
for (i, ix)=enumerate(iX)
Y[cinds..., (i-1)*nc_in+1:i*nc_in, :] = X[ix..., :, :]
end
elseif pattern == "Haar"
Y = cuzeros(X, N_out..., nc_out, batchsize)
iX = Haar_inds(size(X), N)
for (i, ix)=enumerate(iX)
Y[cinds..., (i-1)*nc_in+1:i*nc_in, :] = X[ix..., :, :]
end
else
throw("Specified pattern not defined.")
end
Expand Down

0 comments on commit 8066834

Please sign in to comment.