tracked transpose
This commit is contained in:
parent
b95dae1868
commit
892a779ed1
@ -16,6 +16,9 @@ Base.:-(xs::TrackedArray) = TrackedArray(Call(-, xs))
|
|||||||
|
|
||||||
back!(::typeof(-), Δ, xs::TrackedArray) = back!(xs, -Δ)
|
back!(::typeof(-), Δ, xs::TrackedArray) = back!(xs, -Δ)
|
||||||
|
|
||||||
|
Base.transpose(xs::TrackedArray) = TrackedArray(Call(transpose, xs))
|
||||||
|
Base.ctranspose(xs::TrackedArray) = TrackedArray(Call(ctranspose, xs))
|
||||||
|
|
||||||
# Reductions
|
# Reductions
|
||||||
|
|
||||||
Base.sum(xs::TrackedArray, dim) = TrackedArray(Call(sum, xs, dim))
|
Base.sum(xs::TrackedArray, dim) = TrackedArray(Call(sum, xs, dim))
|
||||||
|
Loading…
Reference in New Issue
Block a user