diff --git a/src/cuda/cuda.jl b/src/cuda/cuda.jl index 1ee10908..eaa3fe00 100644 --- a/src/cuda/cuda.jl +++ b/src/cuda/cuda.jl @@ -4,11 +4,4 @@ using CuArrays CuArrays.cudnn_available() && include("cudnn.jl") -import ..Flux.JIT: Shape, restructure - -function restructure(sh::Shape{T}, buf::CuVector{UInt8}) where T - buf = buf[1:sizeof(sh)] - reshape(reinterpret(T, buf), size(sh)) -end - end