From dca741b73755bbec0f878dee053a12a06f2e1502 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 20 Mar 2019 19:51:54 -0700 Subject: [PATCH] Deprecate tf.distribute.Strategy.experimental_make_numpy_iterator before it is in an official TensorFlow release. PiperOrigin-RevId: 239525447 --- tensorflow/python/distribute/distribute_lib.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tensorflow/python/distribute/distribute_lib.py b/tensorflow/python/distribute/distribute_lib.py index e46a7992e4b..5c44421d0be 100644 --- a/tensorflow/python/distribute/distribute_lib.py +++ b/tensorflow/python/distribute/distribute_lib.py @@ -425,10 +425,13 @@ class DistributionStrategy(object): return self.extended._make_input_fn_iterator( # pylint: disable=protected-access input_fn, replication_mode=replication_mode) + @doc_controls.do_not_generate_docs # DEPRECATED def experimental_make_numpy_iterator( self, numpy_input, batch_size, num_epochs=1, shuffle=1024, session=None): """Makes an iterator for input provided via a nest of numpy arrays. + DEPRECATED: Use `extended.experimental_make_numpy_dataset` instead. + Args: numpy_input: A nest of NumPy input arrays that will be distributed evenly across all replicas. Note that lists of Numpy arrays are stacked,