File size: 241 Bytes
0776746
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import tensorflow as tf
import keras

import helpers  # noqa: F401 ensures payload registration

model = keras.saving.load_model('.', safe_mode=True)
result = model(tf.constant([[0.5]], dtype=tf.float32))
print('Model call result:', result)