@property
def weights(self):
    ws = (self.representation_net.weights if self.representation_net else [])
    ws += self.value_net.weights
    return ws
@property
def weights(self):
    ws = (self.representation_net.weights if self.representation_net else [])
    ws += self.value_net.weights
    return ws