Skip to content

Commit

Permalink
[AutoDiff] Remove CotangentVector, after deprecation.
Browse files Browse the repository at this point in the history
`CotangentVector` was deprecated in swiftlang#24825 and the deprecation was released as part of Swift for TensorFlow v0.4. Now it's time to remove it.
  • Loading branch information
rxwei committed Aug 25, 2019
1 parent 5e12ce4 commit 2df9c1b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions stdlib/public/core/AutoDiff.swift
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ public protocol Differentiable {
@available(*, deprecated,
message: "'AllDifferentiableVariables' is now equal to 'Self' and will be removed")
typealias AllDifferentiableVariables = Self

@available(*, deprecated,
message: "'CotangentVector' is now equal to 'TangentVector' and will be removed")
typealias CotangentVector = TangentVector
}

public extension Differentiable {
Expand Down

0 comments on commit 2df9c1b

Please sign in to comment.