mttf 1.1.17__py3-none-any.whl → 1.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mttf might be problematic. Click here for more details.
- mt/tf/init.py +2 -21
- mt/tf/version.py +2 -2
- {mttf-1.1.17.dist-info → mttf-1.2.0.dist-info}/METADATA +1 -1
- {mttf-1.1.17.dist-info → mttf-1.2.0.dist-info}/RECORD +13 -13
- {mttf-1.1.17.data → mttf-1.2.0.data}/scripts/dmt_pipi.sh +0 -0
- {mttf-1.1.17.data → mttf-1.2.0.data}/scripts/dmt_twineu.sh +0 -0
- {mttf-1.1.17.data → mttf-1.2.0.data}/scripts/pipi.sh +0 -0
- {mttf-1.1.17.data → mttf-1.2.0.data}/scripts/wml_nexus.py +0 -0
- {mttf-1.1.17.data → mttf-1.2.0.data}/scripts/wml_pipi.sh +0 -0
- {mttf-1.1.17.data → mttf-1.2.0.data}/scripts/wml_twineu.sh +0 -0
- {mttf-1.1.17.dist-info → mttf-1.2.0.dist-info}/WHEEL +0 -0
- {mttf-1.1.17.dist-info → mttf-1.2.0.dist-info}/licenses/LICENSE +0 -0
- {mttf-1.1.17.dist-info → mttf-1.2.0.dist-info}/top_level.txt +0 -0
mt/tf/init.py
CHANGED
|
@@ -13,31 +13,12 @@ def init():
|
|
|
13
13
|
|
|
14
14
|
tf_ver = Version(tensorflow.__version__)
|
|
15
15
|
|
|
16
|
-
if tf_ver < Version("2.
|
|
16
|
+
if tf_ver < Version("2.10"):
|
|
17
17
|
raise ImportError(
|
|
18
|
-
f"The minimum TF version that mttf supports is 2.
|
|
18
|
+
f"The minimum TF version that mttf supports is 2.10. Your TF is {tf_ver}. "
|
|
19
19
|
"Please upgrade."
|
|
20
20
|
)
|
|
21
21
|
|
|
22
|
-
# add mobilenet_v3_split module
|
|
23
|
-
from mt.keras.applications import mobilenet_v3_split, mobilevit
|
|
24
|
-
|
|
25
|
-
setattr(tensorflow.keras.applications, "mobilenet_v3_split", mobilenet_v3_split)
|
|
26
|
-
setattr(tensorflow.keras.applications, "mobilevit", mobilevit)
|
|
27
|
-
sys.modules["tensorflow.keras.applications.mobilenet_v3_split"] = mobilenet_v3_split
|
|
28
|
-
sys.modules["tensorflow.keras.applications.mobilevit"] = mobilevit
|
|
29
|
-
setattr(
|
|
30
|
-
tensorflow.keras.applications,
|
|
31
|
-
"MobileNetV3Split",
|
|
32
|
-
mobilenet_v3_split.MobileNetV3Split,
|
|
33
|
-
)
|
|
34
|
-
|
|
35
|
-
from mt.keras.layers import Identical, Upsize2D, Downsize2D
|
|
36
|
-
|
|
37
|
-
setattr(tensorflow.keras.layers, "Identical", Identical)
|
|
38
|
-
setattr(tensorflow.keras.layers, "Upsize2D", Upsize2D)
|
|
39
|
-
setattr(tensorflow.keras.layers, "Downsize2D", Downsize2D)
|
|
40
|
-
|
|
41
22
|
return tensorflow
|
|
42
23
|
|
|
43
24
|
|
mt/tf/version.py
CHANGED
|
@@ -14,24 +14,24 @@ mt/keras_src/layers_src/simple_mha.py,sha256=B0iBytzJL9J_B3D-9YgWtLFXlvLc1CA43Nb
|
|
|
14
14
|
mt/keras_src/layers_src/utils.py,sha256=cvOikMkSSCJ9Si-eIfp_hD86AQ-PxbI5xtIfp9bcW8E,2806
|
|
15
15
|
mt/keras_src/layers_src/var_regularizer.py,sha256=yJwNCtetTT-a4Y38PXEUCyl3OQQzIxT9ybj9jP1r25A,1104
|
|
16
16
|
mt/tf/__init__.py,sha256=M8xiJNdrAUJZgiZTOQOdfkehjO-CYzGpoxh5HVGBkms,338
|
|
17
|
-
mt/tf/init.py,sha256=
|
|
17
|
+
mt/tf/init.py,sha256=bcm0t5tstxTkCBOiMX1SJxhKOz0MAZf-MYp2Mk0Gtas,502
|
|
18
18
|
mt/tf/mttf_version.py,sha256=ha53i-H9pE-crufFttUECgXHwPvam07zMKzApUts1Gs,206
|
|
19
19
|
mt/tf/utils.py,sha256=wau2vhPoPHu2cDxlc2lc9fxrndOXPdq2DNG4em5OOMI,1025
|
|
20
|
-
mt/tf/version.py,sha256=
|
|
20
|
+
mt/tf/version.py,sha256=jJwOrxykZyiL_aUfFSFP0me7QKJnhxFrgVHakM3DZZs,206
|
|
21
21
|
mt/tf/keras_applications/__init__.py,sha256=m-A1rHGGLQgHX9690ENWXZkrU0vqfsJkZXcjIG3CLM0,142
|
|
22
22
|
mt/tf/keras_layers/__init__.py,sha256=NsuFD-kSuy6cVV3Kl7ab95tw4g7x4Igv3cF-Ky3VuCo,124
|
|
23
23
|
mt/tfc/__init__.py,sha256=XFnHJOPip-pT0MzUWGJ07GnNUJOhXluXLLULCY3Miac,9919
|
|
24
24
|
mt/tfg/__init__.py,sha256=6Ly2QImAyQTsg_ZszuAuK_L2n56v89Cix9yYmMVk0CM,304
|
|
25
25
|
mt/tfp/__init__.py,sha256=AQkGCkmDRwswEt3qoOSpxe-fZekx78sHHBs2ZVz33gc,383
|
|
26
26
|
mt/tfp/real_nvp.py,sha256=U9EmkXGqFcvtS2yeh5_RgbKlVKKlGFGklAb7Voyazz4,4440
|
|
27
|
-
mttf-1.
|
|
28
|
-
mttf-1.
|
|
29
|
-
mttf-1.
|
|
30
|
-
mttf-1.
|
|
31
|
-
mttf-1.
|
|
32
|
-
mttf-1.
|
|
33
|
-
mttf-1.
|
|
34
|
-
mttf-1.
|
|
35
|
-
mttf-1.
|
|
36
|
-
mttf-1.
|
|
37
|
-
mttf-1.
|
|
27
|
+
mttf-1.2.0.data/scripts/dmt_pipi.sh,sha256=NNsj4P332unHMqU4mAFjU9PQvxQ8TK5XQ42LC29IZY8,510
|
|
28
|
+
mttf-1.2.0.data/scripts/dmt_twineu.sh,sha256=KZhcYwuCW0c36tWcOgCe7uxJmS08rz-J6YNY76Exy4M,193
|
|
29
|
+
mttf-1.2.0.data/scripts/pipi.sh,sha256=kdo96bdaKq2QIa52Z4XFSiGPcbDm09SAU9cju6I2Lxo,289
|
|
30
|
+
mttf-1.2.0.data/scripts/wml_nexus.py,sha256=kW0ju8_kdXc4jOjhdzKiMsFuO1MNpHmu87skrhu9SEg,1492
|
|
31
|
+
mttf-1.2.0.data/scripts/wml_pipi.sh,sha256=CuidIcbuxyXSBNQqYRhCcSC8QbBaSGnQX0KAIFaIvKA,499
|
|
32
|
+
mttf-1.2.0.data/scripts/wml_twineu.sh,sha256=av1JLN765oOWC5LPkv2eSWIVof26y60601tMGkuYdb8,180
|
|
33
|
+
mttf-1.2.0.dist-info/licenses/LICENSE,sha256=e_JtcszdGZ2ZGfjcymTGrcxFj_9XPicZOVtnsrPvruk,1070
|
|
34
|
+
mttf-1.2.0.dist-info/METADATA,sha256=sqb-yHdTz4I-IMrF_3C1zrxpyKfQFBu_f4oszJw8074,567
|
|
35
|
+
mttf-1.2.0.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
|
|
36
|
+
mttf-1.2.0.dist-info/top_level.txt,sha256=WcqGFu9cV7iMZg09iam8eNxUvGpLSKKF2Iubf6SJVOo,3
|
|
37
|
+
mttf-1.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|