Skip to content

Conversation

warshallrho
Copy link
Member

Checklist

  • I've tested that my changes are compatible with the latest version of Tensorflow.
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary.

Motivation and Context

Description

[fix bug] copy original model's trainable_weights and nontrainable_weights when initializing ModelLayer
Otherwise, the trainable_weights of ModelLayer will be an empty list.

@warshallrho warshallrho requested a review from rundiwu July 20, 2019 20:20
@warshallrho warshallrho merged commit 35df825 into tensorlayer:master Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants