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

Commit 905f0fb

Browse files
committed
Remove TensorFlow initializer tests from PRNG tests.
This fixes the test breakage caused by complications of circular dependencies, i.e. compiling the `DeepLearning` module requires the `TensorFlow` module which is compiled to include symbols defined in the `DeepLearning` module.
1 parent 88ebf99 commit 905f0fb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Tests/DeepLearningTests/PRNGTests.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -235,22 +235,12 @@ final class PRNGTests: XCTestCase {
235235
}
236236
}
237237

238-
func testTensorFlowInitializers() {
239-
let shape: TensorShape = [128, 128]
240-
let seed: (Int64, Int64) = (41, 42)
241-
measure {
242-
_ = Tensor<Float>(randomUniform: shape, seed: seed)
243-
_ = Tensor<Float>(randomNormal: shape, seed: seed)
244-
}
245-
}
246-
247238
static var allTests = [
248239
("testARC4", testARC4),
249240
("testUniformDistribution", testUniformDistribution),
250241
("testNormalDistribution", testNormalDistribution),
251242
("testUniformIntegerDistribution", testUniformIntegerDistribution),
252243
("testThreefry", testThreefry),
253244
("testPhilox", testPhilox),
254-
("testTensorFlowInitializers", testTensorFlowInitializers),
255245
]
256246
}

0 commit comments

Comments
 (0)