Commit e0460db7 authored by Rohan Jain's avatar Rohan Jain Committed by A. Unique TensorFlower
Browse files

Getting rid of experimental_allow_stateful now that we have...

Getting rid of experimental_allow_stateful now that we have experimental_external_state_policy instead.
that option.

We've replaced experimental_allow_stateful with experimental_external_state_policy with a default of WARN in which we'll only print a warning message and not fail. As a result, we can now safely remove all client code that explicitly set the allow_stateful_ops flag to True.

PiperOrigin-RevId: 276115313
parent 8a5702f2
......@@ -126,7 +126,6 @@ def process_record_dataset(dataset,
options = tf.data.Options()
options.experimental_slack = tf_data_experimental_slack
options.experimental_allow_stateful = True
dataset = dataset.with_options(options)
return dataset
......
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