Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit b20e269

Browse files
committed
Changing it from x to y
1 parent cb969ad commit b20e269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/TensorFlowTests/OperatorTests/MathTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,14 +218,14 @@ final class MathOperatorTests: XCTestCase {
218218
let x = Tensor<Float>([1.0, 2.0, 3.0])
219219
let y = softplus(x)
220220
let expected = Tensor<Float>([1.3132616, 2.126928, 3.0485873])
221-
XCTAssertEqual(x, expected)
221+
XCTAssertEqual(y, expected)
222222
}
223223

224224
func testSoftsign() {
225225
let x = Tensor<Float>([1.0, 4.0, 3.0])
226226
let y = softsign(x)
227227
let expected = Tensor<Float>([0.5 , 0.8 , 0.75])
228-
XCTAssertEqual(x, expected)
228+
XCTAssertEqual(y, expected)
229229
}
230230

231231
func testXORInference() {

0 commit comments

Comments
 (0)