File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
tensorflow_model_analysis Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 103103 from tensorflow_model_analysis .types import TensorValue
104104 from tensorflow_model_analysis .types import VarLenTensorValue
105105
106+ # Import VERSION as __version__ for compatibility with other TFX components.
107+ from tensorflow_model_analysis .version import VERSION as __version__
108+
106109except ImportError as err :
107110 import sys
108111 sys .stderr .write ('Error importing: {}' .format (err ))
Original file line number Diff line number Diff line change 8080from tensorflow_model_analysis .proto .config_pb2 import SlicingSpec
8181# pylint: enable=g-importing-member
8282
83- # Import VERSION as __version__ for compatibility with other TFX components.
84- from tensorflow_model_analysis .version import VERSION as __version__
8583# Import VERSION as VERSION_STRING for backwards compatibility.
86- from tensorflow_model_analysis .version import VERSION as VERSION_STRING # pylint: disable=reimported
84+ from tensorflow_model_analysis .version import VERSION as VERSION_STRING
You can’t perform that action at this time.
0 commit comments