mttf 1.1.1__py3-none-any.whl → 1.1.3__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.

@@ -54,12 +54,20 @@ try:
54
54
  _inverted_res_block,
55
55
  )
56
56
  except ImportError:
57
- from keras.applications.mobilenet_v3 import (
58
- relu,
59
- hard_swish,
60
- _depth,
61
- _inverted_res_block,
62
- )
57
+ try:
58
+ from keras.applications.mobilenet_v3 import (
59
+ relu,
60
+ hard_swish,
61
+ _depth,
62
+ _inverted_res_block,
63
+ )
64
+ except ImportError:
65
+ from keras.src.applications.mobilenet_v3 import (
66
+ relu,
67
+ hard_swish,
68
+ _depth,
69
+ _inverted_res_block,
70
+ )
63
71
 
64
72
 
65
73
  try:
@@ -18,8 +18,11 @@ try:
18
18
  except ImportError:
19
19
  try:
20
20
  from keras.applications.mobilenet_v3 import _inverted_res_block
21
- except:
22
- from .mobilenet_v3 import _inverted_res_block
21
+ except ImportError:
22
+ try:
23
+ from keras.src.applications.mobilenet_v3 import _inverted_res_block
24
+ except ImportError:
25
+ from .mobilenet_v3_split import _inverted_res_block
23
26
 
24
27
 
25
28
  try:
mt/tf/version.py CHANGED
@@ -1,5 +1,5 @@
1
1
  MAJOR_VERSION = 1
2
2
  MINOR_VERSION = 1
3
- PATCH_VERSION = 1
3
+ PATCH_VERSION = 3
4
4
  version = '{}.{}.{}'.format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION)
5
5
  __all__ = ['MAJOR_VERSION', 'MINOR_VERSION', 'PATCH_VERSION', 'version']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mttf
3
- Version: 1.1.1
3
+ Version: 1.1.3
4
4
  Summary: A package to detect and monkey-patch TensorFlow, for Minh-Tri Pham
5
5
  Home-page: https://github.com/inteplus/mttf
6
6
  Author: ['Minh-Tri Pham']
@@ -2,10 +2,10 @@ mt/tf/__init__.py,sha256=M8xiJNdrAUJZgiZTOQOdfkehjO-CYzGpoxh5HVGBkms,338
2
2
  mt/tf/init.py,sha256=Hbp0-daCDTUEkQiDwNpbv2qqP7tr9qCyBFUafMklkos,1298
3
3
  mt/tf/mttf_version.py,sha256=ha53i-H9pE-crufFttUECgXHwPvam07zMKzApUts1Gs,206
4
4
  mt/tf/utils.py,sha256=Copl5VM0PpuFUchK-AcBuGO6QitDwHcEs4FruZb2GAI,2460
5
- mt/tf/version.py,sha256=QIxAfll_DXZfqy5XIpWaw2pxdv_6CaLG2JmEVCoHIYc,206
5
+ mt/tf/version.py,sha256=VZsyFZxO1t0XUIZcUvtLnuNSiUTNxhd6V-ZXR4dNYvk,206
6
6
  mt/tf/keras_applications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- mt/tf/keras_applications/mobilenet_v3_split.py,sha256=GDEBHo-blR1Q3N8R89USZ8zDP0nq_oLzPNAnoIgkzgo,19305
8
- mt/tf/keras_applications/mobilevit.py,sha256=FR1eMN4xg-yZ8Orr4ALOYmzCmkoBu7cVgTaK5sc4gsc,9806
7
+ mt/tf/keras_applications/mobilenet_v3_split.py,sha256=bCyLzaMZ6C9EZo3eD7DvdI-VwXObtnkuuN5SLrf1Ta0,19525
8
+ mt/tf/keras_applications/mobilevit.py,sha256=VsKB_U-f9jwUEjpd0eq-YXL4rDsuAbKQ0yIzkbMfLzw,9949
9
9
  mt/tf/keras_layers/__init__.py,sha256=fSfhKmDz4mIHUYXgRrditWY_aAkgWGM_KjmAilOauXg,578
10
10
  mt/tf/keras_layers/counter.py,sha256=KsM25lRvxQZZUz0GLbeUNoPLwVoLF1MK0tQPn9-dVWQ,858
11
11
  mt/tf/keras_layers/floor.py,sha256=cSP-2B3o50ffTFMHZy-C-r7jWA6OFLMyaxTz9kAlsiM,513
@@ -19,14 +19,14 @@ mt/tfc/__init__.py,sha256=XFXAbmEi5uTAuZj797cBqw9ZBnVy6ptxP0TTzVauMNk,8446
19
19
  mt/tfg/__init__.py,sha256=6Ly2QImAyQTsg_ZszuAuK_L2n56v89Cix9yYmMVk0CM,304
20
20
  mt/tfp/__init__.py,sha256=AQkGCkmDRwswEt3qoOSpxe-fZekx78sHHBs2ZVz33gc,383
21
21
  mt/tfp/real_nvp.py,sha256=U9EmkXGqFcvtS2yeh5_RgbKlVKKlGFGklAb7Voyazz4,4440
22
- mttf-1.1.1.data/scripts/dmt_pipi.sh,sha256=NNsj4P332unHMqU4mAFjU9PQvxQ8TK5XQ42LC29IZY8,510
23
- mttf-1.1.1.data/scripts/dmt_twineu.sh,sha256=KZhcYwuCW0c36tWcOgCe7uxJmS08rz-J6YNY76Exy4M,193
24
- mttf-1.1.1.data/scripts/pipi.sh,sha256=kdo96bdaKq2QIa52Z4XFSiGPcbDm09SAU9cju6I2Lxo,289
25
- mttf-1.1.1.data/scripts/wml_nexus.py,sha256=kW0ju8_kdXc4jOjhdzKiMsFuO1MNpHmu87skrhu9SEg,1492
26
- mttf-1.1.1.data/scripts/wml_pipi.sh,sha256=CuidIcbuxyXSBNQqYRhCcSC8QbBaSGnQX0KAIFaIvKA,499
27
- mttf-1.1.1.data/scripts/wml_twineu.sh,sha256=av1JLN765oOWC5LPkv2eSWIVof26y60601tMGkuYdb8,180
28
- mttf-1.1.1.dist-info/licenses/LICENSE,sha256=e_JtcszdGZ2ZGfjcymTGrcxFj_9XPicZOVtnsrPvruk,1070
29
- mttf-1.1.1.dist-info/METADATA,sha256=XWBavlpTNns4WLdP8j8oigt_g8djYSiy7q9gwh-erYI,555
30
- mttf-1.1.1.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
31
- mttf-1.1.1.dist-info/top_level.txt,sha256=WcqGFu9cV7iMZg09iam8eNxUvGpLSKKF2Iubf6SJVOo,3
32
- mttf-1.1.1.dist-info/RECORD,,
22
+ mttf-1.1.3.data/scripts/dmt_pipi.sh,sha256=NNsj4P332unHMqU4mAFjU9PQvxQ8TK5XQ42LC29IZY8,510
23
+ mttf-1.1.3.data/scripts/dmt_twineu.sh,sha256=KZhcYwuCW0c36tWcOgCe7uxJmS08rz-J6YNY76Exy4M,193
24
+ mttf-1.1.3.data/scripts/pipi.sh,sha256=kdo96bdaKq2QIa52Z4XFSiGPcbDm09SAU9cju6I2Lxo,289
25
+ mttf-1.1.3.data/scripts/wml_nexus.py,sha256=kW0ju8_kdXc4jOjhdzKiMsFuO1MNpHmu87skrhu9SEg,1492
26
+ mttf-1.1.3.data/scripts/wml_pipi.sh,sha256=CuidIcbuxyXSBNQqYRhCcSC8QbBaSGnQX0KAIFaIvKA,499
27
+ mttf-1.1.3.data/scripts/wml_twineu.sh,sha256=av1JLN765oOWC5LPkv2eSWIVof26y60601tMGkuYdb8,180
28
+ mttf-1.1.3.dist-info/licenses/LICENSE,sha256=e_JtcszdGZ2ZGfjcymTGrcxFj_9XPicZOVtnsrPvruk,1070
29
+ mttf-1.1.3.dist-info/METADATA,sha256=Ll01n1dr7WsprbmOIkPGZIVW67hIV5dza8DZXHsoy6Y,555
30
+ mttf-1.1.3.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
31
+ mttf-1.1.3.dist-info/top_level.txt,sha256=WcqGFu9cV7iMZg09iam8eNxUvGpLSKKF2Iubf6SJVOo,3
32
+ mttf-1.1.3.dist-info/RECORD,,
File without changes
File without changes
File without changes
File without changes