Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

how to create sub model to share weights for same structure data?

Open yttbgf opened this issue 8 years ago • 1 comments

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.

yttbgf avatar May 04 '18 03:05 yttbgf

reference https://github.com/PaddlePaddle/models/blob/develop/ltr/ranknet.py#L25

Set the two parameters with the same name.

Superjomn avatar May 04 '18 06:05 Superjomn