We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0acd847 commit c3acb74Copy full SHA for c3acb74
ext/ArrayInterfaceTrackerExt.jl
@@ -9,7 +9,7 @@ ArrayInterface.can_setindex(::Type{<:Tracker.TrackedArray}) = false
9
ArrayInterface.fast_scalar_indexing(::Type{<:Tracker.TrackedArray}) = false
10
ArrayInterface.aos_to_soa(x::AbstractArray{<:Tracker.TrackedReal,N}) where {N} = Tracker.collect(x)
11
12
-function ArrayInterface.restructure(x::Array, y::TrackedArray)
+function ArrayInterface.restructure(x::Array, y::Tracker.TrackedArray)
13
reshape(y, Base.size(x)...)
14
end
15
function ArrayInterface.restructure(x::Array, y::Array{<:Tracker.TrackedReal})
0 commit comments