- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for build_savedmodel (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/integration_test/tensorflow_to_stablehlo_test.py
import tensorflow as tf from tensorflow.compiler.mlir.tensorflow_to_stablehlo.python import pywrap_tensorflow_to_stablehlo as tensorflow_to_stablehlo from tensorflow.python.platform import test def build_savedmodel(tempdir) -> str: class AddOneModel(tf.keras.Model): def call(self, x): return x + 1 model = AddOneModel() x_train = tf.constant([1, 2, 3, 4, 5], dtype=tf.float32)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 22:58:42 UTC 2024 - 2.7K bytes - Viewed (0)