Closed warshallrho closed 5 years ago
[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.
Checklist
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.