We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c1956 commit fffb382Copy full SHA for fffb382
tests/test_backend.py
@@ -1912,14 +1912,14 @@ def test_ceil(self):
1912
def test_softplus(self):
1913
x_val = np.array([-1, 0, 1], dtype=np.float32)
1914
x = tf.placeholder(tf.float32, [3], name=_TFINPUT)
1915
- x_ = tf.math.softplus(x)
+ x_ = tf.nn.softplus(x)
1916
_ = tf.identity(x_, name=_TFOUTPUT)
1917
self._run_test_case([_OUTPUT], {_INPUT: x_val})
1918
1919
def test_softsign(self):
1920
1921
1922
- x_ = tf.math.softsign(x)
+ x_ = tf.nn.softsign(x)
1923
1924
1925
0 commit comments