import tensorflow as tf


    
    interpreter.set_tensor(in_node['index'], images)
    interpreter.invoke()
    prediction = interpreter.get_tensor(out_node['index'])
    result = tf.argmax( prediction ,axis=1).numpy()
    print('accuracy={:.4f}'.format(np.sum(result == y_test)/y_test.shape[0]))
        
if __name__ == '__main__':
    convert_tflite()
