Commit df203f73 authored by Sergio Guadarrama's avatar Sergio Guadarrama
Browse files

Automated g4 rollback of changelist 173688125

PiperOrigin-RevId: 173917628
parent 14a173f1
......@@ -103,8 +103,6 @@ import collections
import tensorflow as tf
from tensorflow.python.eager import context
slim = tf.contrib.slim
......@@ -344,13 +342,7 @@ def deploy(config,
Returns:
A `DeployedModel` namedtuple.
Raises:
RuntimeError: If eager execution is enabled.
"""
if context.in_eager_mode():
raise RuntimeError(
'slim.deploy is not supported when eager execution is enabled.')
# Gather initial summaries.
summaries = set(tf.get_collection(tf.GraphKeys.SUMMARIES))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment