Thank you ,
yes my problem solved but I want to access model slice from outside and attach to them
specific loss function in addition to model loss function, slice is not accessible from outside in this way