copy_transplant
Transplant all specified weights and biases from donor to recipient.
All weights and biases shapes must match.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
donor |
tf.keras.Model
|
The donor model. |
required |
recipient |
tf.keras.Model
|
The recipient model. |
required |
weight_name |
str
|
The name of the weights to transplant, can be full internal name,
partial internal name (will match with .endswith) or abbreviation if |
required |