diff options
5 files changed, 0 insertions, 27 deletions
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.image.per_image_whitening.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.image.per_image_whitening.md deleted file mode 100644 index dfad97e766..0000000000 --- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.image.per_image_whitening.md +++ /dev/null @@ -1,4 +0,0 @@ -### `tf.image.per_image_whitening(image)` {#per_image_whitening} - - - diff --git a/tensorflow/g3doc/api_docs/python/image.md b/tensorflow/g3doc/api_docs/python/image.md index e6669fe280..3d5b8931bb 100644 --- a/tensorflow/g3doc/api_docs/python/image.md +++ b/tensorflow/g3doc/api_docs/python/image.md @@ -1433,14 +1433,3 @@ false and no bounding boxes are supplied, an error is raised. `tf.slice`. * <b>`bboxes`</b>: A `Tensor` of type `float32`. 3-D with shape `[1, 1, 4]` containing the distorted bounding box. Provide as input to `tf.image.draw_bounding_boxes`. - - - -## Other Functions and Classes -- - - - -### `tf.image.per_image_whitening(image)` {#per_image_whitening} - - - - diff --git a/tensorflow/g3doc/api_docs/python/index.md b/tensorflow/g3doc/api_docs/python/index.md index 9e44660297..c106b3f447 100644 --- a/tensorflow/g3doc/api_docs/python/index.md +++ b/tensorflow/g3doc/api_docs/python/index.md @@ -393,7 +393,6 @@ * [`non_max_suppression`](../../api_docs/python/image.md#non_max_suppression) * [`pad_to_bounding_box`](../../api_docs/python/image.md#pad_to_bounding_box) * [`per_image_standardization`](../../api_docs/python/image.md#per_image_standardization) - * [`per_image_whitening`](../../api_docs/python/image.md#per_image_whitening) * [`random_brightness`](../../api_docs/python/image.md#random_brightness) * [`random_contrast`](../../api_docs/python/image.md#random_contrast) * [`random_flip_left_right`](../../api_docs/python/image.md#random_flip_left_right) @@ -1089,4 +1088,3 @@ * [`copy_op_to_graph`](../../api_docs/python/contrib.copy_graph.md#copy_op_to_graph) * [`copy_variable_to_graph`](../../api_docs/python/contrib.copy_graph.md#copy_variable_to_graph) * [`get_copied_op`](../../api_docs/python/contrib.copy_graph.md#get_copied_op) - diff --git a/tensorflow/python/ops/image_ops.py b/tensorflow/python/ops/image_ops.py index ed5b820c0c..bc39a7b771 100644 --- a/tensorflow/python/ops/image_ops.py +++ b/tensorflow/python/ops/image_ops.py @@ -184,9 +184,6 @@ _allowed_symbols = [ # ResizeMethod is not documented, but is documented in functions # that use it. 'ResizeMethod', - # TODO(skye): per_image_whitening() will be removed once all callers switch - # to per_image_standardization() - 'per_image_whitening' ] remove_undocumented(__name__, _allowed_symbols) diff --git a/tensorflow/python/ops/image_ops_impl.py b/tensorflow/python/ops/image_ops_impl.py index 0b68743fef..21034c5828 100644 --- a/tensorflow/python/ops/image_ops_impl.py +++ b/tensorflow/python/ops/image_ops_impl.py @@ -717,11 +717,6 @@ def per_image_standardization(image): return image -# TODO(skye): remove once users switch to per_image_standardization() -def per_image_whitening(image): - return per_image_standardization(image) - - def random_brightness(image, max_delta, seed=None): """Adjust the brightness of images by a random factor. @@ -1233,5 +1228,3 @@ def _crop_and_resize_shape(op): ops.RegisterShape('NonMaxSuppression')(common_shapes.call_cpp_shape_fn) - - |