Paddle
Paddle copied to clipboard
how to create sub model to share weights for same structure data?
how to create sub model with same weights such as gru /dense to apply different sliced data which was outputted by some other hidden layer.
reference https://github.com/PaddlePaddle/models/blob/develop/ltr/ranknet.py#L25
Set the two parameters with the same name.