I have a model and I would like to get the weight matrix of a specific layer to use it while defining custom loss function.
Is there any way to get a weight of specif