TensorFlow 2.0 RC is available Learn more

tf.keras.utils.convert_all_kernels_in_model

TensorFlow 2.0 version View source on GitHub

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

Aliases:

  • tf.compat.v1.keras.utils.convert_all_kernels_in_model
  • tf.compat.v2.keras.utils.convert_all_kernels_in_model
tf.keras.utils.convert_all_kernels_in_model(model)

Also works from TensorFlow to Theano.

Arguments:

  • model: target model for the conversion.