Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
#!/usr/bin/env python
# coding: utf-8
# TensorFlow and tf.keras
import tensorflow as tf
from tensorflow import keras
interpreter = tf.lite.Interpreter(model_path="./saved_model/my_model.tflite")
for item in interpreter.get_tensor_details():
for key in item.keys():
print("%s : %s" % (key, item[key]))
print("")