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

Disable failing BasicOperatortests.testVJPConcatentation. #403

Merged
merged 1 commit into from
Jul 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Tests/TensorFlowTests/OperatorTests/BasicTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ final class BasicOperatorTests: XCTestCase {
ShapedArray(shape: [2, 6], scalars: [0, 1, 2, 6, 7, 8, 3, 4, 5, 9, 10, 11]))
}

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

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