Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

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.

tf.keras.utils.convert_all_kernels_in_model(
    model
)

Also works from TensorFlow to Theano.

Arguments:

  • model: target model for the conversion.