tf.keras.utils.convert_all_kernels_in_model

TensorFlow 1 version View source on GitHub

Converts all convolution kernels in a model from Theano to TensorFlow. (deprecated)

Also works from TensorFlow to Theano.

This is used for converting legacy Theano-saved model files.

model target model for the conversion.