blob: e76defff499bbb94f2d7c3a95f1ce7d1c79dca88 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- a/tensorflow/contrib/__init__.py 2020-05-05 18:14:30.701463150 -0500
+++ b/tensorflow/contrib/__init__.py 2020-05-05 18:15:12.392435370 -0500
@@ -26,7 +26,10 @@
from tensorflow.contrib import bayesflow
from tensorflow.contrib import checkpoint
if os.name != "nt":
- from tensorflow.contrib import cloud
+ try:
+ from tensorflow.contrib import cloud
+ except ImportError:
+ pass
from tensorflow.contrib import cluster_resolver
from tensorflow.contrib import coder
from tensorflow.contrib import compiler
|