FIx read-only property can't be changed

This commit is contained in:
rushter 2015-10-31 18:11:51 +03:00
parent 8f2810bfee
commit 5590dc7b0d

@ -74,7 +74,7 @@ class ParametricSoftplus(MaskedLayer):
self.alphas = sharedX(self.alpha_init * np.ones(input_shape))
self.betas = sharedX(self.beta_init * np.ones(input_shape))
self.params = [self.alphas, self.betas]
self.input_shape = input_shape
self._input_shape = input_shape
if self.initial_weights is not None:
self.set_weights(self.initial_weights)