tf-models-nightly 2.18.0.dev20241002__py2.py3-none-any.whl → 2.18.0.dev20241003__py2.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.
- official/projects/movinet/tools/export_saved_model_test.py +5 -2
- {tf_models_nightly-2.18.0.dev20241002.dist-info → tf_models_nightly-2.18.0.dev20241003.dist-info}/METADATA +1 -1
- {tf_models_nightly-2.18.0.dev20241002.dist-info → tf_models_nightly-2.18.0.dev20241003.dist-info}/RECORD +7 -7
- {tf_models_nightly-2.18.0.dev20241002.dist-info → tf_models_nightly-2.18.0.dev20241003.dist-info}/AUTHORS +0 -0
- {tf_models_nightly-2.18.0.dev20241002.dist-info → tf_models_nightly-2.18.0.dev20241003.dist-info}/LICENSE +0 -0
- {tf_models_nightly-2.18.0.dev20241002.dist-info → tf_models_nightly-2.18.0.dev20241003.dist-info}/WHEEL +0 -0
- {tf_models_nightly-2.18.0.dev20241002.dist-info → tf_models_nightly-2.18.0.dev20241003.dist-info}/top_level.txt +0 -0
@@ -13,13 +13,16 @@
|
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
15
|
"""Tests for export_saved_model."""
|
16
|
-
|
17
16
|
from absl import flags
|
18
17
|
import tensorflow as tf, tf_keras
|
19
18
|
import tensorflow_hub as hub
|
20
19
|
|
20
|
+
# pylint: disable=g-direct-tensorflow-import
|
21
|
+
from tensorflow.lite.python import interpreter as tfl_interpreter
|
22
|
+
# pylint: enable=g-direct-tensorflow-import
|
21
23
|
from official.projects.movinet.tools import export_saved_model
|
22
24
|
|
25
|
+
|
23
26
|
FLAGS = flags.FLAGS
|
24
27
|
|
25
28
|
|
@@ -120,7 +123,7 @@ class ExportSavedModelTest(tf.test.TestCase):
|
|
120
123
|
converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_path)
|
121
124
|
tflite_model = converter.convert()
|
122
125
|
|
123
|
-
interpreter =
|
126
|
+
interpreter = tfl_interpreter.Interpreter(model_content=tflite_model)
|
124
127
|
runner = interpreter.get_signature_runner('serving_default')
|
125
128
|
|
126
129
|
def state_name(name: str) -> str:
|
@@ -585,7 +585,7 @@ official/projects/movinet/tools/__init__.py,sha256=7oiypy0N82PDw9aSdcJBLVoGTd_oR
|
|
585
585
|
official/projects/movinet/tools/convert_3d_2plus1d.py,sha256=1cFp6tswmoXsDPIz3JcSRcTCC3wzsqkI63X2Rh5F4f4,3819
|
586
586
|
official/projects/movinet/tools/convert_3d_2plus1d_test.py,sha256=pGoc7vvP3xEbmLHD2uJIZAfM1kYtJl2d9IbuP5IHcBM,2007
|
587
587
|
official/projects/movinet/tools/export_saved_model.py,sha256=PxYUKvAyuyZmbyO95A6umon-JO41pl82qTpDaOn8gOk,11704
|
588
|
-
official/projects/movinet/tools/export_saved_model_test.py,sha256=
|
588
|
+
official/projects/movinet/tools/export_saved_model_test.py,sha256=M01xLav_jGXDAoan-COLrVG5QLrbqfT51k7fOSCdIps,4624
|
589
589
|
official/projects/movinet/tools/quantize_movinet.py,sha256=ihm4SGOiO-YOAq_b8ZOzIjDzJIEAsx2DgR6sAbtHZbI,11994
|
590
590
|
official/projects/nhnet/__init__.py,sha256=7oiypy0N82PDw9aSdcJBLVoGTd_oRSUOdvuJhMv4leQ,609
|
591
591
|
official/projects/nhnet/configs.py,sha256=F5lJNdpd8KZE4PjupSVXffmBlOTTakk_ODKC3eDoaxo,3202
|
@@ -1222,9 +1222,9 @@ tensorflow_models/tensorflow_models_test.py,sha256=nc6A9K53OGqF25xN5St8EiWvdVbda
|
|
1222
1222
|
tensorflow_models/nlp/__init__.py,sha256=4tA5Pf4qaFwT-fIFOpX7x7FHJpnyJT-5UgOeFYTyMlc,807
|
1223
1223
|
tensorflow_models/uplift/__init__.py,sha256=mqfa55gweOdpKoaQyid4A_4u7xw__FcQeSIF0k_pYmI,999
|
1224
1224
|
tensorflow_models/vision/__init__.py,sha256=zBorY_v5xva1uI-qxhZO3Qh-Dii-Suq6wEYh6hKHDfc,833
|
1225
|
-
tf_models_nightly-2.18.0.
|
1226
|
-
tf_models_nightly-2.18.0.
|
1227
|
-
tf_models_nightly-2.18.0.
|
1228
|
-
tf_models_nightly-2.18.0.
|
1229
|
-
tf_models_nightly-2.18.0.
|
1230
|
-
tf_models_nightly-2.18.0.
|
1225
|
+
tf_models_nightly-2.18.0.dev20241003.dist-info/AUTHORS,sha256=1dG3fXVu9jlo7bul8xuix5F5vOnczMk7_yWn4y70uw0,337
|
1226
|
+
tf_models_nightly-2.18.0.dev20241003.dist-info/LICENSE,sha256=WxeBS_DejPZQabxtfMOM_xn8qoZNJDQjrT7z2wG1I4U,11512
|
1227
|
+
tf_models_nightly-2.18.0.dev20241003.dist-info/METADATA,sha256=-wfYvhp2TJrmBEyzu4XRTSzVnqQUCmngCbT1NpOYH7s,1432
|
1228
|
+
tf_models_nightly-2.18.0.dev20241003.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
|
1229
|
+
tf_models_nightly-2.18.0.dev20241003.dist-info/top_level.txt,sha256=gum2FfO5R4cvjl2-QtP-S1aNmsvIZaFFT6VFzU0f4-g,33
|
1230
|
+
tf_models_nightly-2.18.0.dev20241003.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|