Skip to content

Commit

Permalink
fix soft sign deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kashif committed May 5, 2016
1 parent 078b201 commit b93728a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions keras/backend/theano_backend.py
Expand Up @@ -3,7 +3,6 @@
from theano.sandbox.rng_mrg import MRG_RandomStreams as RandomStreams
from theano.tensor.signal import pool
from theano.tensor.nnet import conv3d2d
from theano.sandbox import softsign as T_softsign
import inspect
import numpy as np
from .common import _FLOATX, _EPSILON
Expand Down Expand Up @@ -734,7 +733,7 @@ def softplus(x):


def softsign(x):
return T_softsign.softsign(x)
return T.nnet.nnet.softsign(x)


def categorical_crossentropy(output, target, from_logits=False):
Expand Down

0 comments on commit b93728a

Please sign in to comment.