In keras weight is shared when u use same layers for different data flows. In you situation, yes they will be shared.
Im not clearly understand second question, if you are talking about variable name, then it doesnt matter how you called, but simpler flow-variables calling somesing like ‘x’.

--

--

Machine Learning and Computer Vision Researcher. Founder LearnML.Today

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store