tf.keras.utils.convert_all_kernels_in_model

tf.keras.utils.convert_all_kernels_in_model(model)

Defined in tensorflow/python/keras/_impl/keras/utils/layer_utils.py.

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

Also works from TensorFlow to Theano.

Arguments:

  • model: target model for the conversion.