2626from sagemaker .pytorch import PyTorch
2727from sagemaker .rl import RLEstimator
2828from sagemaker .sklearn .defaults import SKLEARN_VERSION
29- from sagemaker .tensorflow .defaults import TF_VERSION
29+ from sagemaker .tensorflow .estimator import TensorFlow
3030
3131DEFAULT_REGION = 'us-west-2'
3232
@@ -43,7 +43,7 @@ def pytest_addoption(parser):
4343 parser .addoption ('--rl-ray-full-version' , action = 'store' ,
4444 default = RLEstimator .RAY_LATEST_VERSION )
4545 parser .addoption ('--sklearn-full-version' , action = 'store' , default = SKLEARN_VERSION )
46- parser .addoption ('--tf-full-version' , action = 'store' , default = TF_VERSION )
46+ parser .addoption ('--tf-full-version' , action = 'store' , default = TensorFlow . LATEST_VERSION )
4747
4848
4949def pytest_configure (config ):
@@ -126,7 +126,7 @@ def sklearn_version(request):
126126
127127@pytest .fixture (scope = 'module' , params = ['1.4' , '1.4.1' , '1.5' , '1.5.0' , '1.6' , '1.6.0' ,
128128 '1.7' , '1.7.0' , '1.8' , '1.8.0' , '1.9' , '1.9.0' ,
129- '1.10' , '1.10.0' , '1.11' , '1.11.0' ])
129+ '1.10' , '1.10.0' , '1.11' , '1.11.0' , '1.12' , '1.12.0' ])
130130def tf_version (request ):
131131 return request .param
132132
0 commit comments