Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion include/swift/Basic/LangOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,9 @@ namespace swift {

/// Whether to enable experimental differentiable programming features:
/// `@differentiable` declaration attribute, etc.
bool EnableExperimentalDifferentiableProgramming = false;
// SWIFT_ENABLE_TENSORFLOW
// The default on tensorflow branch is true. On master, it is false.
bool EnableExperimentalDifferentiableProgramming = true;

/// Whether to enable #quote, #unquote and @quoted.
bool EnableExperimentalQuasiquotes = false;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===--- SILAutoDiffIndices.cpp - Tests SILAutoDiffIndices ----------------===//
//===--- AutoDiffIndexSubset.cpp - Tests AutoDiffIndexSubset --------------===//
//
// This source file is part of the Swift.org open source project
//
Expand Down
4 changes: 2 additions & 2 deletions unittests/AST/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
add_swift_unittest(SwiftASTTests
ArithmeticEvaluator.cpp
DiagnosticConsumerTests.cpp
# SWIFT_ENABLE_TENSORFLOW
SILAutoDiffIndices.cpp
AutoDiffIndexSubset.cpp
DiagnosticConsumerTests.cpp
SourceLocTests.cpp
TestContext.cpp
TypeMatchTests.cpp
Expand Down