mttf 1.2.25__py3-none-any.whl → 1.2.26__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/keras/__init__.py +0 -1
- mt/keras_src/layers_src/__init__.py +2 -0
- mt/keras_src/{activations_src → layers_src}/soft_bend.py +9 -5
- mt/tf/version.py +1 -1
- {mttf-1.2.25.dist-info → mttf-1.2.26.dist-info}/METADATA +1 -1
- {mttf-1.2.25.dist-info → mttf-1.2.26.dist-info}/RECORD +15 -16
- mt/keras_src/activations_src/__init__.py +0 -14
- {mttf-1.2.25.data → mttf-1.2.26.data}/scripts/dmt_pipi.sh +0 -0
- {mttf-1.2.25.data → mttf-1.2.26.data}/scripts/dmt_twineu.sh +0 -0
- {mttf-1.2.25.data → mttf-1.2.26.data}/scripts/pipi.sh +0 -0
- {mttf-1.2.25.data → mttf-1.2.26.data}/scripts/wml_nexus.py +0 -0
- {mttf-1.2.25.data → mttf-1.2.26.data}/scripts/wml_pipi.sh +0 -0
- {mttf-1.2.25.data → mttf-1.2.26.data}/scripts/wml_twineu.sh +0 -0
- {mttf-1.2.25.dist-info → mttf-1.2.26.dist-info}/WHEEL +0 -0
- {mttf-1.2.25.dist-info → mttf-1.2.26.dist-info}/licenses/LICENSE +0 -0
- {mttf-1.2.25.dist-info → mttf-1.2.26.dist-info}/top_level.txt +0 -0
mt/keras/__init__.py
CHANGED
|
@@ -13,6 +13,7 @@ from .simple_mha import *
|
|
|
13
13
|
from .image_sizing import *
|
|
14
14
|
from .counter import Counter
|
|
15
15
|
from .normed_conv2d import NormedConv2D
|
|
16
|
+
from .soft_bend import SoftBend
|
|
16
17
|
from .utils import *
|
|
17
18
|
|
|
18
19
|
|
|
@@ -36,4 +37,5 @@ __api__ = [
|
|
|
36
37
|
"Counter",
|
|
37
38
|
"conv2d",
|
|
38
39
|
"dense2d",
|
|
40
|
+
"SoftBend",
|
|
39
41
|
]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from .. import
|
|
1
|
+
from .. import layers
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
class SoftBend(
|
|
5
|
-
"""Soft bend activation
|
|
4
|
+
class SoftBend(layers.Layer):
|
|
5
|
+
"""Soft bend activation layer.
|
|
6
6
|
|
|
7
7
|
Function: `|x|^alpha * tanh(x)`, bending the linear activation a bit.
|
|
8
8
|
|
|
@@ -19,5 +19,9 @@ class SoftBend(ops.Operation):
|
|
|
19
19
|
|
|
20
20
|
return pow(abs(x), self.alpha) * tanh(x)
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
call.__doc__ = layers.Layer.call.__doc__
|
|
23
|
+
|
|
24
|
+
def compute_output_shape(self, input_shape):
|
|
25
|
+
return input_shape
|
|
26
|
+
|
|
27
|
+
compute_output_shape.__doc__ = layers.Layer.compute_output_shape.__doc__
|
mt/tf/version.py
CHANGED
|
@@ -1,42 +1,41 @@
|
|
|
1
|
-
mt/keras/__init__.py,sha256=
|
|
1
|
+
mt/keras/__init__.py,sha256=1cRBV2JY5TMZl4zAtZ3TO4lxf4iO7uY80u5-A9U0-wg,227
|
|
2
2
|
mt/keras_src/__init__.py,sha256=jPQ2uDPmDxLUtU6R2y7dMBWQsqQxCbU5jvSzTT8_wko,504
|
|
3
3
|
mt/keras_src/base.py,sha256=_B2sSUMlHOtGSAqQD1p5YD0raEDL4W0Bh3uKD6BXOJM,807
|
|
4
|
-
mt/keras_src/activations_src/__init__.py,sha256=OMArIYnQjw0ntCj04Yg-kHFHbztQJjgDNDV7ptoTJEo,245
|
|
5
|
-
mt/keras_src/activations_src/soft_bend.py,sha256=j0RmCRsqbwJhDOOAXW1fpRP_-2jhX17_u4AtrM_Mxp0,648
|
|
6
4
|
mt/keras_src/applications_src/__init__.py,sha256=VOJKcb29_W_nA1To9NVI8FLFiIuJp7-ZYMk5OH4uizQ,734
|
|
7
5
|
mt/keras_src/applications_src/classifier.py,sha256=rmJThMRoDRwROvcxRek5-NI6OSpGhT8CjsW4dgySBak,18698
|
|
8
6
|
mt/keras_src/applications_src/mobilenet_v3_split.py,sha256=EufzlbM2B5D_whpsDmfJFvyLSLtsoK6VXomaSE2K6Ms,19737
|
|
9
7
|
mt/keras_src/applications_src/mobilevit.py,sha256=WSwTTT_VTPkH03XmRB_tFS1IgZf__HcVHwshjidSKaM,8934
|
|
10
8
|
mt/keras_src/constraints_src/__init__.py,sha256=XOHrlZbWjmQszPm9TGQFSmKthbcgBvb1jXUlgZbtyMM,253
|
|
11
9
|
mt/keras_src/constraints_src/center_around.py,sha256=NIPckqjbrOfGCT3Fv1O3hET4sHgE7kBWIMt5AG03Lmk,543
|
|
12
|
-
mt/keras_src/layers_src/__init__.py,sha256=
|
|
10
|
+
mt/keras_src/layers_src/__init__.py,sha256=mqFyOSZiwGzvhorE8icMe2VyuX42YOvDLpragANXbKo,794
|
|
13
11
|
mt/keras_src/layers_src/counter.py,sha256=pFN50ZOpV4lvkKmKsK5hxfvAF0Jj46TtGqZOtND5eSc,852
|
|
14
12
|
mt/keras_src/layers_src/floor.py,sha256=wPINhDnRYdbJ_eQqwq0pCXiez1sAryvGthQJULeN9yM,508
|
|
15
13
|
mt/keras_src/layers_src/identical.py,sha256=sxY0E8BTk2F_fflGtcrrSv9d-xf47SUdAJezdNM5HkM,357
|
|
16
14
|
mt/keras_src/layers_src/image_sizing.py,sha256=JcxBJ_JqFsrZAtlJrRy9Yi9Q1hslAYopbipo9cbGF60,58525
|
|
17
15
|
mt/keras_src/layers_src/normed_conv2d.py,sha256=IBuAxwjLDxb02WDPFteEYSv4IsF9PYIcQDLUrc6I8lU,10676
|
|
18
16
|
mt/keras_src/layers_src/simple_mha.py,sha256=jnp8e13Xk10BvR4wverOVI14T3QEnIXaMRKV0RYIFh8,19233
|
|
17
|
+
mt/keras_src/layers_src/soft_bend.py,sha256=arOgrFk3Udv1K8riU2y8OfSBTnvSJwt0_tygCTLuwso,747
|
|
19
18
|
mt/keras_src/layers_src/utils.py,sha256=cvOikMkSSCJ9Si-eIfp_hD86AQ-PxbI5xtIfp9bcW8E,2806
|
|
20
19
|
mt/keras_src/layers_src/var_regularizer.py,sha256=yJwNCtetTT-a4Y38PXEUCyl3OQQzIxT9ybj9jP1r25A,1104
|
|
21
20
|
mt/tf/__init__.py,sha256=M8xiJNdrAUJZgiZTOQOdfkehjO-CYzGpoxh5HVGBkms,338
|
|
22
21
|
mt/tf/init.py,sha256=bcm0t5tstxTkCBOiMX1SJxhKOz0MAZf-MYp2Mk0Gtas,502
|
|
23
22
|
mt/tf/mttf_version.py,sha256=ha53i-H9pE-crufFttUECgXHwPvam07zMKzApUts1Gs,206
|
|
24
23
|
mt/tf/utils.py,sha256=wau2vhPoPHu2cDxlc2lc9fxrndOXPdq2DNG4em5OOMI,1025
|
|
25
|
-
mt/tf/version.py,sha256=
|
|
24
|
+
mt/tf/version.py,sha256=JFDL5ioQIIDH85km6zu3xIDAMjI3olVWaNchkZAxCqk,207
|
|
26
25
|
mt/tf/keras_applications/__init__.py,sha256=m-A1rHGGLQgHX9690ENWXZkrU0vqfsJkZXcjIG3CLM0,142
|
|
27
26
|
mt/tf/keras_layers/__init__.py,sha256=NsuFD-kSuy6cVV3Kl7ab95tw4g7x4Igv3cF-Ky3VuCo,124
|
|
28
27
|
mt/tfc/__init__.py,sha256=pcxgcmUSXJCFZal5Pxz7hC1P8fhP1dB2egZzKGdrseQ,12118
|
|
29
28
|
mt/tfg/__init__.py,sha256=6Ly2QImAyQTsg_ZszuAuK_L2n56v89Cix9yYmMVk0CM,304
|
|
30
29
|
mt/tfp/__init__.py,sha256=AQkGCkmDRwswEt3qoOSpxe-fZekx78sHHBs2ZVz33gc,383
|
|
31
30
|
mt/tfp/real_nvp.py,sha256=U9EmkXGqFcvtS2yeh5_RgbKlVKKlGFGklAb7Voyazz4,4440
|
|
32
|
-
mttf-1.2.
|
|
33
|
-
mttf-1.2.
|
|
34
|
-
mttf-1.2.
|
|
35
|
-
mttf-1.2.
|
|
36
|
-
mttf-1.2.
|
|
37
|
-
mttf-1.2.
|
|
38
|
-
mttf-1.2.
|
|
39
|
-
mttf-1.2.
|
|
40
|
-
mttf-1.2.
|
|
41
|
-
mttf-1.2.
|
|
42
|
-
mttf-1.2.
|
|
31
|
+
mttf-1.2.26.data/scripts/dmt_pipi.sh,sha256=NNsj4P332unHMqU4mAFjU9PQvxQ8TK5XQ42LC29IZY8,510
|
|
32
|
+
mttf-1.2.26.data/scripts/dmt_twineu.sh,sha256=KZhcYwuCW0c36tWcOgCe7uxJmS08rz-J6YNY76Exy4M,193
|
|
33
|
+
mttf-1.2.26.data/scripts/pipi.sh,sha256=kdo96bdaKq2QIa52Z4XFSiGPcbDm09SAU9cju6I2Lxo,289
|
|
34
|
+
mttf-1.2.26.data/scripts/wml_nexus.py,sha256=47P9PQMgb9w_-T0olC-dr3s60mKaQup-RWOuNi5mvJg,1192
|
|
35
|
+
mttf-1.2.26.data/scripts/wml_pipi.sh,sha256=CuidIcbuxyXSBNQqYRhCcSC8QbBaSGnQX0KAIFaIvKA,499
|
|
36
|
+
mttf-1.2.26.data/scripts/wml_twineu.sh,sha256=av1JLN765oOWC5LPkv2eSWIVof26y60601tMGkuYdb8,180
|
|
37
|
+
mttf-1.2.26.dist-info/licenses/LICENSE,sha256=e_JtcszdGZ2ZGfjcymTGrcxFj_9XPicZOVtnsrPvruk,1070
|
|
38
|
+
mttf-1.2.26.dist-info/METADATA,sha256=pI1BySHACTgRpA0SLPwM9_xmnRtH5lz0q3YIp8qGuqg,568
|
|
39
|
+
mttf-1.2.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
40
|
+
mttf-1.2.26.dist-info/top_level.txt,sha256=WcqGFu9cV7iMZg09iam8eNxUvGpLSKKF2Iubf6SJVOo,3
|
|
41
|
+
mttf-1.2.26.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
|