Skip to content

Commit 43421a2

Browse files
authored
---
yaml --- r: 277487 b: refs/heads/tensorflow-merge c: 33682aa h: refs/heads/master i: 277485: 0f940bb 277483: e651950 277479: 7595b28 277471: a86c550
1 parent 2b10b11 commit 43421a2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-29-a: 1b087071edaea398480fb778e
11241124
refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-30-a: 8bc9e108e1480d9217299984e428c601c7aaac75
11251125
refs/tags/swift-4.2.1-RELEASE: 02a6ca969ea1387475b6caeb69c31186df7d30b6
11261126
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-11-01-a: 3b0299288f8287094b9ef587f46df54f42a347af
1127-
refs/heads/tensorflow-merge: 6822658890daeb579bd58251c6e8d906feb5a13b
1127+
refs/heads/tensorflow-merge: 33682aa696c22f5feb3e7cf06a75f5eb8a2d5e37
11281128
refs/heads/TensorFlowLite: b91446471276e37bbfe64767c875f3c7f7102954
11291129
refs/heads/ad-side-effects: 19e0c0de1f59b0929c381925df2e8c72cdf4a728
11301130
refs/heads/add-test-for-asan-compiler-crash: 3cdeecffb47bf28707b299fa2b5bdf0769a4a826

branches/tensorflow-merge/test/TensorFlowRuntime/tracer_tffunc.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ extension Tensor : _TensorArrayProtocolEnhanced {
2222
}
2323
}
2424

25-
#if !CUDA
26-
2725
TracerTests.testAllBackends("SimpleTFFunction") {
2826
func cond(i: Tensor<Int32>, n: Tensor<Int32>) -> (Tensor<Int32>) {
2927
return (Tensor<Int32>(i .< n))
@@ -37,7 +35,7 @@ TracerTests.testAllBackends("SimpleTFFunction") {
3735

3836
func runWhile(_ n: Int32) -> Tensor<Int32> {
3937
return #tfop(
40-
"StatelessWhile",
38+
"While",
4139
Tensor<Int32>(0),
4240
T$dtype: [Int32.tensorFlowDataType],
4341
cond$func: tffunc(Tensor<Int32>(n)),
@@ -48,6 +46,4 @@ TracerTests.testAllBackends("SimpleTFFunction") {
4846
expectEqualWithScalarTensor(300, runWhile(300))
4947
}
5048

51-
#endif // !CUDA
52-
5349
runAllTests()

0 commit comments

Comments
 (0)