From 96fa3161ac2b5b9bda260c0ac9884e758baa4b71 Mon Sep 17 00:00:00 2001 From: Vishnuvardhan Janapati <46058173+jvishnuvardhan@users.noreply.github.com> Date: Tue, 18 Jan 2022 11:01:50 -0800 Subject: [PATCH] Update hardshrink.py Currently the page https://www.tensorflow.org/addons/api_docs/python/tfa/activations/hardshrink?hl=de_DE is not rendered properly because of a missing backtick. Added a backtick to format and render the page correctly --- tensorflow_addons/activations/hardshrink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_addons/activations/hardshrink.py b/tensorflow_addons/activations/hardshrink.py index 4ccb4ac90e..52e226ff91 100644 --- a/tensorflow_addons/activations/hardshrink.py +++ b/tensorflow_addons/activations/hardshrink.py @@ -40,7 +40,7 @@ def hardshrink(x: TensorLike, lower: Number = -0.5, upper: Number = 0.5) -> tf.T Args: x: A `Tensor`. Must be one of the following types: - `bfloat16`, float16`, `float32`, `float64`. + `bfloat16`, `float16`, `float32`, `float64`. lower: `float`, lower bound for setting values to zeros. upper: `float`, upper bound for setting values to zeros. Returns: