File tree 2 files changed +5
-4
lines changed 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 27
27
from sagemaker .pytorch import PyTorch
28
28
from sagemaker .rl import RLEstimator
29
29
from sagemaker .sklearn .defaults import SKLEARN_VERSION
30
- from sagemaker .tensorflow .defaults import _LATEST_1X_VERSION , LATEST_VERSION , LATEST_SERVING_VERSION
30
+ from sagemaker .tensorflow import TensorFlow
31
+ from sagemaker .tensorflow .defaults import LATEST_VERSION , LATEST_SERVING_VERSION
31
32
32
33
DEFAULT_REGION = "us-west-2"
33
34
CUSTOM_BUCKET_NAME_PREFIX = "sagemaker-custom-bucket"
@@ -259,7 +260,7 @@ def sklearn_full_version(request):
259
260
return request .config .getoption ("--sklearn-full-version" )
260
261
261
262
262
- @pytest .fixture (scope = "module" , params = [_LATEST_1X_VERSION , LATEST_VERSION ])
263
+ @pytest .fixture (scope = "module" , params = [TensorFlow . _LATEST_1X_VERSION , LATEST_VERSION ])
263
264
def tf_full_version (request ):
264
265
tf_version = request .config .getoption ("--tf-full-version" )
265
266
if tf_version is None :
Original file line number Diff line number Diff line change 37
37
from sagemaker .predictor import json_deserializer
38
38
from sagemaker .pytorch import PyTorch
39
39
from sagemaker .tensorflow import TensorFlow
40
- from sagemaker .tensorflow .defaults import _LATEST_1X_VERSION , LATEST_VERSION
40
+ from sagemaker .tensorflow .defaults import LATEST_VERSION
41
41
from sagemaker .tuner import (
42
42
IntegerParameter ,
43
43
ContinuousParameter ,
52
52
53
53
DATA_PATH = os .path .join (DATA_DIR , "iris" , "data" )
54
54
55
- PY37_SUPPORTED_FRAMEWORK_VERSION = [_LATEST_1X_VERSION , LATEST_VERSION ]
55
+ PY37_SUPPORTED_FRAMEWORK_VERSION = [TensorFlow . _LATEST_1X_VERSION , LATEST_VERSION ]
56
56
57
57
58
58
@pytest .fixture (scope = "module" )
You can’t perform that action at this time.
0 commit comments