tf.keras.utils.convert_all_kernels_in_model

TensorFlow 2 version View source on GitHub

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

Also works from TensorFlow to Theano.

model target model for the conversion.