Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 3d820df

Browse files
author
Ryan Sepassi
committed
Internal merges
PiperOrigin-RevId: 181796253
1 parent e0fcdbc commit 3d820df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tensor2tensor/layers/common_layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def shakeshake2_py(x, y, equal=False, individual=False):
7676
"""The shake-shake sum of 2 tensors, python version."""
7777
if equal:
7878
alpha = 0.5
79-
if individual:
79+
elif individual:
8080
alpha = tf.random_uniform(tf.get_shape(x)[:1])
8181
else:
8282
alpha = tf.random_uniform([])

tensor2tensor/serving/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
"""Query an exported model."""
16+
"""Query an exported model. Py2 only. Install tensorflow-serving-api."""
1717
from __future__ import absolute_import
1818
from __future__ import division
1919
from __future__ import print_function

0 commit comments

Comments
 (0)