(self, weights)
Sets the weights of the sublayer and replicates them for this layer.
Sets the weights of the sublayer and replicates them for this layer.
Sets the weights of the sublayer and replicates them for this layer .
def replicate_weights(self, weights):
    """Sets the weights of the sublayer and replicates them for this layer."""
    self.sublayer.weights = weights
    self._weights = self._prepare_weights(weights)
def replicate_weights ( self , weights ) : self . sublayer . weights = weights self . _weights = self . _prepare_weights ( weights )