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

Commit 36938cf

Browse files
authored
Disable failing BasicOperatortests.testVJPConcatentation. (#403)
Related to https://bugs.swift.org/browse/TF-698
1 parent 728a2d6 commit 36938cf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Tests/TensorFlowTests/OperatorTests/BasicTests.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,8 @@ final class BasicOperatorTests: XCTestCase {
366366
ShapedArray(shape: [2, 6], scalars: [0, 1, 2, 6, 7, 8, 3, 4, 5, 9, 10, 11]))
367367
}
368368

369+
/* TODO(https://bugs.swift.org/browse/TF-698): This test is failing with the latest toolchain.*/
370+
/*
369371
func testVJPConcatenation() {
370372
let a1 = Tensor<Float>([1,2,3,4])
371373
let b1 = Tensor<Float>([5,6,7,8,9,10])
@@ -380,6 +382,7 @@ final class BasicOperatorTests: XCTestCase {
380382
XCTAssertEqual(grads.0, a1)
381383
XCTAssertEqual(grads.1, b1)
382384
}
385+
*/
383386

384387
func testVJPConcatenationNegativeAxis() {
385388
let a1 = Tensor<Float>([1,2,3,4])
@@ -613,7 +616,8 @@ final class BasicOperatorTests: XCTestCase {
613616
("testWholeTensorSlicing", testWholeTensorSlicing),
614617
("testAdvancedIndexing", testAdvancedIndexing),
615618
("testConcatenation", testConcatenation),
616-
("testVJPConcatenation", testVJPConcatenation),
619+
// TODO(https://bugs.swift.org/browse/TF-698): Investigate test failure.
620+
// ("testVJPConcatenation", testVJPConcatenation),
617621
("testTranspose", testTranspose),
618622
("testReshape", testReshape),
619623
("testFlatten", testFlatten),

0 commit comments

Comments
 (0)