Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FRONTEND][Keras] Add support for tf.Keras networks in Relay Keras frontend #4630

Merged
merged 1 commit into from
Jan 6, 2020
Merged

[FRONTEND][Keras] Add support for tf.Keras networks in Relay Keras frontend #4630

merged 1 commit into from
Jan 6, 2020

Conversation

leandron
Copy link
Contributor

@leandron leandron commented Jan 6, 2020

Add support for tf.Keras networks in Relay Keras frontend:

  • Make Relay Keras frontend support networks created using Tensorflow (1.13) Keras implementation (tf.Keras)
  • Modify Keras frontend tests to run from a class rather than a function based script
  • Adjust Keras frontend tests to run with both 'Keras' and 'tf.Keras'
  • Change "TestKeras.test_forward_merge" to validate instances by class name rather than instance type

…ontend

 * Make Relay Keras frontend support networks created using
   Tensorflow (1.13) Keras implementation (tf.Keras)
 * Modify Keras frontend tests to run from a class rather than a
   function based script
 * Adjust Keras frontend tests to run with both 'Keras' and 'tf.Keras'
 * Change "TestKeras.test_forward_merge" to validate instances by
   class name rather than instance type
@leandron
Copy link
Contributor Author

leandron commented Jan 6, 2020

@tqchen @apivovarov @jwfromm can you have a look on this PR, please?

@jwfromm
Copy link
Contributor

jwfromm commented Jan 6, 2020

Thanks for making this change, supporting tf.keras is definitely valuable and actually also gives us the ability to import TF2.0 models through a saved Keras model. LGTM!

@tqchen tqchen merged commit dc30880 into apache:master Jan 6, 2020
@tqchen
Copy link
Member

tqchen commented Jan 6, 2020

Thanks @jwfromm @leandron !

alexwong pushed a commit to alexwong/tvm that referenced this pull request Feb 26, 2020
…ontend (apache#4630)

* Make Relay Keras frontend support networks created using
   Tensorflow (1.13) Keras implementation (tf.Keras)
 * Modify Keras frontend tests to run from a class rather than a
   function based script
 * Adjust Keras frontend tests to run with both 'Keras' and 'tf.Keras'
 * Change "TestKeras.test_forward_merge" to validate instances by
   class name rather than instance type
alexwong pushed a commit to alexwong/tvm that referenced this pull request Feb 28, 2020
…ontend (apache#4630)

* Make Relay Keras frontend support networks created using
   Tensorflow (1.13) Keras implementation (tf.Keras)
 * Modify Keras frontend tests to run from a class rather than a
   function based script
 * Adjust Keras frontend tests to run with both 'Keras' and 'tf.Keras'
 * Change "TestKeras.test_forward_merge" to validate instances by
   class name rather than instance type
zhiics pushed a commit to neo-ai/tvm that referenced this pull request Mar 2, 2020
…ontend (apache#4630)

* Make Relay Keras frontend support networks created using
   Tensorflow (1.13) Keras implementation (tf.Keras)
 * Modify Keras frontend tests to run from a class rather than a
   function based script
 * Adjust Keras frontend tests to run with both 'Keras' and 'tf.Keras'
 * Change "TestKeras.test_forward_merge" to validate instances by
   class name rather than instance type
@leandron leandron deleted the tvm-tf_keras_support branch August 12, 2020 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants