diff options
author | 2018-07-09 19:03:46 -0700 | |
---|---|---|
committer | 2018-07-09 19:07:25 -0700 | |
commit | 31e9d08398a2118537abc1a02f47376c4d2c7d9d (patch) | |
tree | ebe0287a912d6ee328ab319c349db31a01e6f5b3 | |
parent | ec9afb15c41ac368c037ca3eb18fb567d229dda2 (diff) |
Change "deprecation_message" to "deprecated: true" in api_def_*.pbtxt files.
PiperOrigin-RevId: 203871388
106 files changed, 106 insertions, 112 deletions
diff --git a/tensorflow/core/api_def/python_api/api_def_Acos.pbtxt b/tensorflow/core/api_def/python_api/api_def_Acos.pbtxt index ca1ee78526..1fd8baf05f 100644 --- a/tensorflow/core/api_def/python_api/api_def_Acos.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Acos.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "acos" - deprecation_message: "tf.acos is deprecated, please use tf.math.acos instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Acosh.pbtxt b/tensorflow/core/api_def/python_api/api_def_Acosh.pbtxt index 7503353e41..f7946652ef 100644 --- a/tensorflow/core/api_def/python_api/api_def_Acosh.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Acosh.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "acosh" - deprecation_message: "tf.acosh is deprecated, please use tf.math.acosh instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Add.pbtxt b/tensorflow/core/api_def/python_api/api_def_Add.pbtxt index cc5d68b15d..fb505a91ac 100644 --- a/tensorflow/core/api_def/python_api/api_def_Add.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Add.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "add" - deprecation_message: "tf.add is deprecated, please use tf.math.add instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_AsString.pbtxt b/tensorflow/core/api_def/python_api/api_def_AsString.pbtxt index 9306eaf373..ea65543a76 100644 --- a/tensorflow/core/api_def/python_api/api_def_AsString.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_AsString.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "as_string" - deprecation_message: "tf.as_string is deprecated, please use tf.dtypes.as_string instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Asin.pbtxt b/tensorflow/core/api_def/python_api/api_def_Asin.pbtxt index 7622af7b45..eedf4553c6 100644 --- a/tensorflow/core/api_def/python_api/api_def_Asin.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Asin.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "asin" - deprecation_message: "tf.asin is deprecated, please use tf.math.asin instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Asinh.pbtxt b/tensorflow/core/api_def/python_api/api_def_Asinh.pbtxt index 395275c21d..10c2fb356e 100644 --- a/tensorflow/core/api_def/python_api/api_def_Asinh.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Asinh.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "asinh" - deprecation_message: "tf.asinh is deprecated, please use tf.math.asinh instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Atan.pbtxt b/tensorflow/core/api_def/python_api/api_def_Atan.pbtxt index dfcd632558..03dd5dc848 100644 --- a/tensorflow/core/api_def/python_api/api_def_Atan.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Atan.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "atan" - deprecation_message: "tf.atan is deprecated, please use tf.math.atan instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Atan2.pbtxt b/tensorflow/core/api_def/python_api/api_def_Atan2.pbtxt index fba79507aa..85b27bd881 100644 --- a/tensorflow/core/api_def/python_api/api_def_Atan2.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Atan2.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "atan2" - deprecation_message: "tf.atan2 is deprecated, please use tf.math.atan2 instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Atanh.pbtxt b/tensorflow/core/api_def/python_api/api_def_Atanh.pbtxt index f7164c33e8..ee7c0600d6 100644 --- a/tensorflow/core/api_def/python_api/api_def_Atanh.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Atanh.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "atanh" - deprecation_message: "tf.atanh is deprecated, please use tf.math.atanh instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_BatchToSpaceND.pbtxt b/tensorflow/core/api_def/python_api/api_def_BatchToSpaceND.pbtxt index 56e49a2221..9552fc92e3 100644 --- a/tensorflow/core/api_def/python_api/api_def_BatchToSpaceND.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_BatchToSpaceND.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "batch_to_space_nd" - deprecation_message: "tf.batch_to_space_nd is deprecated, please use tf.manip.batch_to_space_nd instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Betainc.pbtxt b/tensorflow/core/api_def/python_api/api_def_Betainc.pbtxt index 7c37b534c7..7ad7cbcba9 100644 --- a/tensorflow/core/api_def/python_api/api_def_Betainc.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Betainc.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "betainc" - deprecation_message: "tf.betainc is deprecated, please use tf.math.betainc instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Ceil.pbtxt b/tensorflow/core/api_def/python_api/api_def_Ceil.pbtxt index 0c72cf2edd..f2265bad56 100644 --- a/tensorflow/core/api_def/python_api/api_def_Ceil.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Ceil.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "ceil" - deprecation_message: "tf.ceil is deprecated, please use tf.math.ceil instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_CheckNumerics.pbtxt b/tensorflow/core/api_def/python_api/api_def_CheckNumerics.pbtxt index 7ea52d30b6..541b09a591 100644 --- a/tensorflow/core/api_def/python_api/api_def_CheckNumerics.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_CheckNumerics.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "check_numerics" - deprecation_message: "tf.check_numerics is deprecated, please use tf.debugging.check_numerics instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Cholesky.pbtxt b/tensorflow/core/api_def/python_api/api_def_Cholesky.pbtxt index 568fab4037..942f4e6ed8 100644 --- a/tensorflow/core/api_def/python_api/api_def_Cholesky.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Cholesky.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "cholesky" - deprecation_message: "tf.cholesky is deprecated, please use tf.linalg.cholesky instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Cos.pbtxt b/tensorflow/core/api_def/python_api/api_def_Cos.pbtxt index 6550cd2d4e..1af8c0c2c9 100644 --- a/tensorflow/core/api_def/python_api/api_def_Cos.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Cos.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "cos" - deprecation_message: "tf.cos is deprecated, please use tf.math.cos instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Cosh.pbtxt b/tensorflow/core/api_def/python_api/api_def_Cosh.pbtxt index ef82a45a80..2de87df40d 100644 --- a/tensorflow/core/api_def/python_api/api_def_Cosh.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Cosh.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "cosh" - deprecation_message: "tf.cosh is deprecated, please use tf.math.cosh instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Cross.pbtxt b/tensorflow/core/api_def/python_api/api_def_Cross.pbtxt index 33c1b8c617..e8a871cae6 100644 --- a/tensorflow/core/api_def/python_api/api_def_Cross.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Cross.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "cross" - deprecation_message: "tf.cross is deprecated, please use tf.linalg.cross instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_DecodeBase64.pbtxt b/tensorflow/core/api_def/python_api/api_def_DecodeBase64.pbtxt index 55c43ceba2..8b96eee631 100644 --- a/tensorflow/core/api_def/python_api/api_def_DecodeBase64.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_DecodeBase64.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "decode_base64" - deprecation_message: "tf.decode_base64 is deprecated, please use tf.io.decode_base64 instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_DecodeCompressed.pbtxt b/tensorflow/core/api_def/python_api/api_def_DecodeCompressed.pbtxt index 5f6be24cc4..829608fc8f 100644 --- a/tensorflow/core/api_def/python_api/api_def_DecodeCompressed.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_DecodeCompressed.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "decode_compressed" - deprecation_message: "tf.decode_compressed is deprecated, please use tf.io.decode_compressed instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_DecodeJSONExample.pbtxt b/tensorflow/core/api_def/python_api/api_def_DecodeJSONExample.pbtxt index 3759047f57..9f28bc5f59 100644 --- a/tensorflow/core/api_def/python_api/api_def_DecodeJSONExample.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_DecodeJSONExample.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "decode_json_example" - deprecation_message: "tf.decode_json_example is deprecated, please use tf.io.decode_json_example instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_DecodeRaw.pbtxt b/tensorflow/core/api_def/python_api/api_def_DecodeRaw.pbtxt index a83f702dca..0010a59ca4 100644 --- a/tensorflow/core/api_def/python_api/api_def_DecodeRaw.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_DecodeRaw.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "decode_raw" - deprecation_message: "tf.decode_raw is deprecated, please use tf.io.decode_raw instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Dequantize.pbtxt b/tensorflow/core/api_def/python_api/api_def_Dequantize.pbtxt index c9b4f76fab..5edd0c216b 100644 --- a/tensorflow/core/api_def/python_api/api_def_Dequantize.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Dequantize.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "dequantize" - deprecation_message: "tf.dequantize is deprecated, please use tf.quantization.dequantize instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Diag.pbtxt b/tensorflow/core/api_def/python_api/api_def_Diag.pbtxt index 2043facfa9..cba30e63e8 100644 --- a/tensorflow/core/api_def/python_api/api_def_Diag.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Diag.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "diag" - deprecation_message: "tf.diag is deprecated, please use tf.linalg.tensor_diag instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_DiagPart.pbtxt b/tensorflow/core/api_def/python_api/api_def_DiagPart.pbtxt index 7fa30b2347..54e1f34e82 100644 --- a/tensorflow/core/api_def/python_api/api_def_DiagPart.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_DiagPart.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "diag_part" - deprecation_message: "tf.diag_part is deprecated, please use tf.linalg.tensor_diag_part instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Digamma.pbtxt b/tensorflow/core/api_def/python_api/api_def_Digamma.pbtxt index 03f57678a8..91b4dfead7 100644 --- a/tensorflow/core/api_def/python_api/api_def_Digamma.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Digamma.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "digamma" - deprecation_message: "tf.digamma is deprecated, please use tf.math.digamma instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_EncodeBase64.pbtxt b/tensorflow/core/api_def/python_api/api_def_EncodeBase64.pbtxt index 47b4ab4da4..71bb73cfb2 100644 --- a/tensorflow/core/api_def/python_api/api_def_EncodeBase64.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_EncodeBase64.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "encode_base64" - deprecation_message: "tf.encode_base64 is deprecated, please use tf.io.encode_base64 instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Equal.pbtxt b/tensorflow/core/api_def/python_api/api_def_Equal.pbtxt index 2630962f7d..78aa1b3bc5 100644 --- a/tensorflow/core/api_def/python_api/api_def_Equal.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Equal.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "equal" - deprecation_message: "tf.equal is deprecated, please use tf.math.equal instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Erfc.pbtxt b/tensorflow/core/api_def/python_api/api_def_Erfc.pbtxt index 6a511b3251..e96df0c596 100644 --- a/tensorflow/core/api_def/python_api/api_def_Erfc.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Erfc.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "erfc" - deprecation_message: "tf.erfc is deprecated, please use tf.math.erfc instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Exp.pbtxt b/tensorflow/core/api_def/python_api/api_def_Exp.pbtxt index e1fd718ff0..70323fe5b4 100644 --- a/tensorflow/core/api_def/python_api/api_def_Exp.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Exp.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "exp" - deprecation_message: "tf.exp is deprecated, please use tf.math.exp instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Expm1.pbtxt b/tensorflow/core/api_def/python_api/api_def_Expm1.pbtxt index ca25706407..8ddf9d4d70 100644 --- a/tensorflow/core/api_def/python_api/api_def_Expm1.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Expm1.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "expm1" - deprecation_message: "tf.expm1 is deprecated, please use tf.math.expm1 instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_ExtractImagePatches.pbtxt b/tensorflow/core/api_def/python_api/api_def_ExtractImagePatches.pbtxt index d302e26ad2..f008b1222d 100644 --- a/tensorflow/core/api_def/python_api/api_def_ExtractImagePatches.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_ExtractImagePatches.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "extract_image_patches" - deprecation_message: "tf.extract_image_patches is deprecated, please use tf.image.extract_image_patches instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_FFT.pbtxt b/tensorflow/core/api_def/python_api/api_def_FFT.pbtxt index 57a00a08e3..d79e936b71 100644 --- a/tensorflow/core/api_def/python_api/api_def_FFT.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_FFT.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "fft" - deprecation_message: "tf.fft is deprecated, please use tf.spectral.fft instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxArgs.pbtxt b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxArgs.pbtxt index cd14b13675..d8db83331f 100644 --- a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxArgs.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxArgs.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "fake_quant_with_min_max_args" - deprecation_message: "tf.fake_quant_with_min_max_args is deprecated, please use tf.quantization.fake_quant_with_min_max_args instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxArgsGradient.pbtxt b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxArgsGradient.pbtxt index d55cb69d1d..74f01d1a0c 100644 --- a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxArgsGradient.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxArgsGradient.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "fake_quant_with_min_max_args_gradient" - deprecation_message: "tf.fake_quant_with_min_max_args_gradient is deprecated, please use tf.quantization.fake_quant_with_min_max_args_gradient instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVars.pbtxt b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVars.pbtxt index 6ff4f2cdb2..e14fb6d118 100644 --- a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVars.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVars.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "fake_quant_with_min_max_vars" - deprecation_message: "tf.fake_quant_with_min_max_vars is deprecated, please use tf.quantization.fake_quant_with_min_max_vars instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsGradient.pbtxt b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsGradient.pbtxt index 817a35cc6c..4611ebdfb8 100644 --- a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsGradient.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsGradient.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "fake_quant_with_min_max_vars_gradient" - deprecation_message: "tf.fake_quant_with_min_max_vars_gradient is deprecated, please use tf.quantization.fake_quant_with_min_max_vars_gradient instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsPerChannel.pbtxt b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsPerChannel.pbtxt index 275c0d5225..0936e513c3 100644 --- a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsPerChannel.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsPerChannel.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "fake_quant_with_min_max_vars_per_channel" - deprecation_message: "tf.fake_quant_with_min_max_vars_per_channel is deprecated, please use tf.quantization.fake_quant_with_min_max_vars_per_channel instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsPerChannelGradient.pbtxt b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsPerChannelGradient.pbtxt index 897312897f..0d9968248c 100644 --- a/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsPerChannelGradient.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_FakeQuantWithMinMaxVarsPerChannelGradient.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "fake_quant_with_min_max_vars_per_channel_gradient" - deprecation_message: "tf.fake_quant_with_min_max_vars_per_channel_gradient is deprecated, please use tf.quantization.fake_quant_with_min_max_vars_per_channel_gradient instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Floor.pbtxt b/tensorflow/core/api_def/python_api/api_def_Floor.pbtxt index 788d95edc1..9b93caa0b1 100644 --- a/tensorflow/core/api_def/python_api/api_def_Floor.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Floor.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "floor" - deprecation_message: "tf.floor is deprecated, please use tf.math.floor instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_GatherNd.pbtxt b/tensorflow/core/api_def/python_api/api_def_GatherNd.pbtxt index 371dc740df..71257c8855 100644 --- a/tensorflow/core/api_def/python_api/api_def_GatherNd.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_GatherNd.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "gather_nd" - deprecation_message: "tf.gather_nd is deprecated, please use tf.manip.gather_nd instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Greater.pbtxt b/tensorflow/core/api_def/python_api/api_def_Greater.pbtxt index c8c56515b2..7de60d44c4 100644 --- a/tensorflow/core/api_def/python_api/api_def_Greater.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Greater.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "greater" - deprecation_message: "tf.greater is deprecated, please use tf.math.greater instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_GreaterEqual.pbtxt b/tensorflow/core/api_def/python_api/api_def_GreaterEqual.pbtxt index ccb390fb3e..9c8975c2a9 100644 --- a/tensorflow/core/api_def/python_api/api_def_GreaterEqual.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_GreaterEqual.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "greater_equal" - deprecation_message: "tf.greater_equal is deprecated, please use tf.math.greater_equal instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_IFFT.pbtxt b/tensorflow/core/api_def/python_api/api_def_IFFT.pbtxt index 267ad8d0a0..17fbd8ace4 100644 --- a/tensorflow/core/api_def/python_api/api_def_IFFT.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_IFFT.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "ifft" - deprecation_message: "tf.ifft is deprecated, please use tf.spectral.ifft instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Igamma.pbtxt b/tensorflow/core/api_def/python_api/api_def_Igamma.pbtxt index 4e7e3a6e57..8c4815c26e 100644 --- a/tensorflow/core/api_def/python_api/api_def_Igamma.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Igamma.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "igamma" - deprecation_message: "tf.igamma is deprecated, please use tf.math.igamma instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Igammac.pbtxt b/tensorflow/core/api_def/python_api/api_def_Igammac.pbtxt index ea92a0916b..b43b54391b 100644 --- a/tensorflow/core/api_def/python_api/api_def_Igammac.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Igammac.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "igammac" - deprecation_message: "tf.igammac is deprecated, please use tf.math.igammac instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_InvertPermutation.pbtxt b/tensorflow/core/api_def/python_api/api_def_InvertPermutation.pbtxt index bce642b96a..d75fcd63e3 100644 --- a/tensorflow/core/api_def/python_api/api_def_InvertPermutation.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_InvertPermutation.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "invert_permutation" - deprecation_message: "tf.invert_permutation is deprecated, please use tf.math.invert_permutation instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_IsFinite.pbtxt b/tensorflow/core/api_def/python_api/api_def_IsFinite.pbtxt index a2c12f2ea0..27142644bf 100644 --- a/tensorflow/core/api_def/python_api/api_def_IsFinite.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_IsFinite.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "is_finite" - deprecation_message: "tf.is_finite is deprecated, please use tf.debugging.is_finite instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_IsInf.pbtxt b/tensorflow/core/api_def/python_api/api_def_IsInf.pbtxt index 7c29811fd7..4cd92f1cb7 100644 --- a/tensorflow/core/api_def/python_api/api_def_IsInf.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_IsInf.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "is_inf" - deprecation_message: "tf.is_inf is deprecated, please use tf.debugging.is_inf instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_IsNan.pbtxt b/tensorflow/core/api_def/python_api/api_def_IsNan.pbtxt index 459cf3ccbd..07d49f9436 100644 --- a/tensorflow/core/api_def/python_api/api_def_IsNan.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_IsNan.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "is_nan" - deprecation_message: "tf.is_nan is deprecated, please use tf.debugging.is_nan instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Less.pbtxt b/tensorflow/core/api_def/python_api/api_def_Less.pbtxt index 15cbdc6d8e..055df2922a 100644 --- a/tensorflow/core/api_def/python_api/api_def_Less.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Less.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "less" - deprecation_message: "tf.less is deprecated, please use tf.math.less instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_LessEqual.pbtxt b/tensorflow/core/api_def/python_api/api_def_LessEqual.pbtxt index 35aa18698f..d2803ddb69 100644 --- a/tensorflow/core/api_def/python_api/api_def_LessEqual.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_LessEqual.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "less_equal" - deprecation_message: "tf.less_equal is deprecated, please use tf.math.less_equal instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Lgamma.pbtxt b/tensorflow/core/api_def/python_api/api_def_Lgamma.pbtxt index 89886b09d3..0262b838ca 100644 --- a/tensorflow/core/api_def/python_api/api_def_Lgamma.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Lgamma.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "lgamma" - deprecation_message: "tf.lgamma is deprecated, please use tf.math.lgamma instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Log.pbtxt b/tensorflow/core/api_def/python_api/api_def_Log.pbtxt index fb82aa7e43..26d2473b9c 100644 --- a/tensorflow/core/api_def/python_api/api_def_Log.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Log.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "log" - deprecation_message: "tf.log is deprecated, please use tf.math.log instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Log1p.pbtxt b/tensorflow/core/api_def/python_api/api_def_Log1p.pbtxt index 6b451aa546..d85b6dccec 100644 --- a/tensorflow/core/api_def/python_api/api_def_Log1p.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Log1p.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "log1p" - deprecation_message: "tf.log1p is deprecated, please use tf.math.log1p instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_LogicalAnd.pbtxt b/tensorflow/core/api_def/python_api/api_def_LogicalAnd.pbtxt index 403a8c71ff..80bd98b740 100644 --- a/tensorflow/core/api_def/python_api/api_def_LogicalAnd.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_LogicalAnd.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "logical_and" - deprecation_message: "tf.logical_and is deprecated, please use tf.math.logical_and instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_LogicalNot.pbtxt b/tensorflow/core/api_def/python_api/api_def_LogicalNot.pbtxt index f228958c77..b2244c44b1 100644 --- a/tensorflow/core/api_def/python_api/api_def_LogicalNot.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_LogicalNot.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "logical_not" - deprecation_message: "tf.logical_not is deprecated, please use tf.math.logical_not instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_LogicalOr.pbtxt b/tensorflow/core/api_def/python_api/api_def_LogicalOr.pbtxt index ab89f236e7..cf78b52e07 100644 --- a/tensorflow/core/api_def/python_api/api_def_LogicalOr.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_LogicalOr.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "logical_or" - deprecation_message: "tf.logical_or is deprecated, please use tf.math.logical_or instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_MatchingFiles.pbtxt b/tensorflow/core/api_def/python_api/api_def_MatchingFiles.pbtxt index 8930d66940..74145670a8 100644 --- a/tensorflow/core/api_def/python_api/api_def_MatchingFiles.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_MatchingFiles.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "matching_files" - deprecation_message: "tf.matching_files is deprecated, please use tf.io.matching_files instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_MatrixBandPart.pbtxt b/tensorflow/core/api_def/python_api/api_def_MatrixBandPart.pbtxt index bad2f03f32..1122c52ab4 100644 --- a/tensorflow/core/api_def/python_api/api_def_MatrixBandPart.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_MatrixBandPart.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "matrix_band_part" - deprecation_message: "tf.matrix_band_part is deprecated, please use tf.linalg.band_part instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_MatrixDeterminant.pbtxt b/tensorflow/core/api_def/python_api/api_def_MatrixDeterminant.pbtxt index d241d4d721..9563bf0354 100644 --- a/tensorflow/core/api_def/python_api/api_def_MatrixDeterminant.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_MatrixDeterminant.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "matrix_determinant" - deprecation_message: "tf.matrix_determinant is deprecated, please use tf.linalg.det instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_MatrixDiag.pbtxt b/tensorflow/core/api_def/python_api/api_def_MatrixDiag.pbtxt index 208b37e297..8ab0bf75eb 100644 --- a/tensorflow/core/api_def/python_api/api_def_MatrixDiag.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_MatrixDiag.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "matrix_diag" - deprecation_message: "tf.matrix_diag is deprecated, please use tf.linalg.diag instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_MatrixDiagPart.pbtxt b/tensorflow/core/api_def/python_api/api_def_MatrixDiagPart.pbtxt index a8a50e8a89..82ce67853c 100644 --- a/tensorflow/core/api_def/python_api/api_def_MatrixDiagPart.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_MatrixDiagPart.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "matrix_diag_part" - deprecation_message: "tf.matrix_diag_part is deprecated, please use tf.linalg.diag_part instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_MatrixInverse.pbtxt b/tensorflow/core/api_def/python_api/api_def_MatrixInverse.pbtxt index 944513fcd9..85862f6eb5 100644 --- a/tensorflow/core/api_def/python_api/api_def_MatrixInverse.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_MatrixInverse.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "matrix_inverse" - deprecation_message: "tf.matrix_inverse is deprecated, please use tf.linalg.inv instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_MatrixSetDiag.pbtxt b/tensorflow/core/api_def/python_api/api_def_MatrixSetDiag.pbtxt index a6080dbc2d..6325e4f0e6 100644 --- a/tensorflow/core/api_def/python_api/api_def_MatrixSetDiag.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_MatrixSetDiag.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "matrix_set_diag" - deprecation_message: "tf.matrix_set_diag is deprecated, please use tf.linalg.set_diag instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_MatrixSolve.pbtxt b/tensorflow/core/api_def/python_api/api_def_MatrixSolve.pbtxt index caba80326b..6325dff407 100644 --- a/tensorflow/core/api_def/python_api/api_def_MatrixSolve.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_MatrixSolve.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "matrix_solve" - deprecation_message: "tf.matrix_solve is deprecated, please use tf.linalg.solve instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_MatrixTriangularSolve.pbtxt b/tensorflow/core/api_def/python_api/api_def_MatrixTriangularSolve.pbtxt index a4dfa538ed..7f865e23b2 100644 --- a/tensorflow/core/api_def/python_api/api_def_MatrixTriangularSolve.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_MatrixTriangularSolve.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "matrix_triangular_solve" - deprecation_message: "tf.matrix_triangular_solve is deprecated, please use tf.linalg.triangular_solve instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Maximum.pbtxt b/tensorflow/core/api_def/python_api/api_def_Maximum.pbtxt index 90af9e145b..bcff379b71 100644 --- a/tensorflow/core/api_def/python_api/api_def_Maximum.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Maximum.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "maximum" - deprecation_message: "tf.maximum is deprecated, please use tf.math.maximum instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Minimum.pbtxt b/tensorflow/core/api_def/python_api/api_def_Minimum.pbtxt index 33bcd6f667..9aae74226a 100644 --- a/tensorflow/core/api_def/python_api/api_def_Minimum.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Minimum.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "minimum" - deprecation_message: "tf.minimum is deprecated, please use tf.math.minimum instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_NotEqual.pbtxt b/tensorflow/core/api_def/python_api/api_def_NotEqual.pbtxt index 385565daaf..f37317854f 100644 --- a/tensorflow/core/api_def/python_api/api_def_NotEqual.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_NotEqual.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "not_equal" - deprecation_message: "tf.not_equal is deprecated, please use tf.math.not_equal instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_ParseTensor.pbtxt b/tensorflow/core/api_def/python_api/api_def_ParseTensor.pbtxt index 29f02ab1ac..10b3aab0c7 100644 --- a/tensorflow/core/api_def/python_api/api_def_ParseTensor.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_ParseTensor.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "parse_tensor" - deprecation_message: "tf.parse_tensor is deprecated, please use tf.io.parse_tensor instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Polygamma.pbtxt b/tensorflow/core/api_def/python_api/api_def_Polygamma.pbtxt index 567a448642..9df81402d5 100644 --- a/tensorflow/core/api_def/python_api/api_def_Polygamma.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Polygamma.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "polygamma" - deprecation_message: "tf.polygamma is deprecated, please use tf.math.polygamma instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Qr.pbtxt b/tensorflow/core/api_def/python_api/api_def_Qr.pbtxt index a9371b5d9b..0260eecc91 100644 --- a/tensorflow/core/api_def/python_api/api_def_Qr.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Qr.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "qr" - deprecation_message: "tf.qr is deprecated, please use tf.linalg.qr instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_QuantizedConcat.pbtxt b/tensorflow/core/api_def/python_api/api_def_QuantizedConcat.pbtxt index 44508ef079..69404b9472 100644 --- a/tensorflow/core/api_def/python_api/api_def_QuantizedConcat.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_QuantizedConcat.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "quantized_concat" - deprecation_message: "tf.quantized_concat is deprecated, please use tf.quantization.quantized_concat instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_ReadFile.pbtxt b/tensorflow/core/api_def/python_api/api_def_ReadFile.pbtxt index 7c38fae31c..9d479be45f 100644 --- a/tensorflow/core/api_def/python_api/api_def_ReadFile.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_ReadFile.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "read_file" - deprecation_message: "tf.read_file is deprecated, please use tf.io.read_file instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Reciprocal.pbtxt b/tensorflow/core/api_def/python_api/api_def_Reciprocal.pbtxt index 0f37e99f4f..c4d4c27722 100644 --- a/tensorflow/core/api_def/python_api/api_def_Reciprocal.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Reciprocal.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "reciprocal" - deprecation_message: "tf.reciprocal is deprecated, please use tf.math.reciprocal instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_RegexReplace.pbtxt b/tensorflow/core/api_def/python_api/api_def_RegexReplace.pbtxt index 6938e20e57..b17806b338 100644 --- a/tensorflow/core/api_def/python_api/api_def_RegexReplace.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_RegexReplace.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "regex_replace" - deprecation_message: "tf.regex_replace is deprecated, please use tf.strings.regex_replace instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Reshape.pbtxt b/tensorflow/core/api_def/python_api/api_def_Reshape.pbtxt index 907d95a6f0..c469665b66 100644 --- a/tensorflow/core/api_def/python_api/api_def_Reshape.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Reshape.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "reshape" - deprecation_message: "tf.reshape is deprecated, please use tf.manip.reshape instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_ReverseV2.pbtxt b/tensorflow/core/api_def/python_api/api_def_ReverseV2.pbtxt index bbe9e97d60..77f595927b 100644 --- a/tensorflow/core/api_def/python_api/api_def_ReverseV2.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_ReverseV2.pbtxt @@ -5,10 +5,10 @@ op { } endpoint { name: "reverse" - deprecation_message: "tf.reverse is deprecated, please use tf.manip.reverse instead." + deprecated: true } endpoint { name: "reverse_v2" - deprecation_message: "tf.reverse_v2 is deprecated, please use tf.manip.reverse instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Rint.pbtxt b/tensorflow/core/api_def/python_api/api_def_Rint.pbtxt index 4330a80d04..ec37a23127 100644 --- a/tensorflow/core/api_def/python_api/api_def_Rint.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Rint.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "rint" - deprecation_message: "tf.rint is deprecated, please use tf.math.rint instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Rsqrt.pbtxt b/tensorflow/core/api_def/python_api/api_def_Rsqrt.pbtxt index 6a45f4aff5..4fc2b81421 100644 --- a/tensorflow/core/api_def/python_api/api_def_Rsqrt.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Rsqrt.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "rsqrt" - deprecation_message: "tf.rsqrt is deprecated, please use tf.math.rsqrt instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_ScatterNd.pbtxt b/tensorflow/core/api_def/python_api/api_def_ScatterNd.pbtxt index cabf171cb0..a65a19b542 100644 --- a/tensorflow/core/api_def/python_api/api_def_ScatterNd.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_ScatterNd.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "scatter_nd" - deprecation_message: "tf.scatter_nd is deprecated, please use tf.manip.scatter_nd instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_SegmentMax.pbtxt b/tensorflow/core/api_def/python_api/api_def_SegmentMax.pbtxt index 65e34a1fcf..2e22c375c0 100644 --- a/tensorflow/core/api_def/python_api/api_def_SegmentMax.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_SegmentMax.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "segment_max" - deprecation_message: "tf.segment_max is deprecated, please use tf.math.segment_max instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_SegmentMean.pbtxt b/tensorflow/core/api_def/python_api/api_def_SegmentMean.pbtxt index f1e19c5571..646348072f 100644 --- a/tensorflow/core/api_def/python_api/api_def_SegmentMean.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_SegmentMean.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "segment_mean" - deprecation_message: "tf.segment_mean is deprecated, please use tf.math.segment_mean instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_SegmentMin.pbtxt b/tensorflow/core/api_def/python_api/api_def_SegmentMin.pbtxt index fd9a3c380d..1a77019a2d 100644 --- a/tensorflow/core/api_def/python_api/api_def_SegmentMin.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_SegmentMin.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "segment_min" - deprecation_message: "tf.segment_min is deprecated, please use tf.math.segment_min instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_SegmentProd.pbtxt b/tensorflow/core/api_def/python_api/api_def_SegmentProd.pbtxt index f2be8baafc..cf4d6f0237 100644 --- a/tensorflow/core/api_def/python_api/api_def_SegmentProd.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_SegmentProd.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "segment_prod" - deprecation_message: "tf.segment_prod is deprecated, please use tf.math.segment_prod instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_SegmentSum.pbtxt b/tensorflow/core/api_def/python_api/api_def_SegmentSum.pbtxt index c7cc1d0c9f..c6d7999455 100644 --- a/tensorflow/core/api_def/python_api/api_def_SegmentSum.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_SegmentSum.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "segment_sum" - deprecation_message: "tf.segment_sum is deprecated, please use tf.math.segment_sum instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Sin.pbtxt b/tensorflow/core/api_def/python_api/api_def_Sin.pbtxt index 0794334987..9c19a1a177 100644 --- a/tensorflow/core/api_def/python_api/api_def_Sin.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Sin.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "sin" - deprecation_message: "tf.sin is deprecated, please use tf.math.sin instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Sinh.pbtxt b/tensorflow/core/api_def/python_api/api_def_Sinh.pbtxt index c42f8678c6..155e58e6d5 100644 --- a/tensorflow/core/api_def/python_api/api_def_Sinh.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Sinh.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "sinh" - deprecation_message: "tf.sinh is deprecated, please use tf.math.sinh instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_SpaceToBatchND.pbtxt b/tensorflow/core/api_def/python_api/api_def_SpaceToBatchND.pbtxt index 63a7547e14..af323a6cf3 100644 --- a/tensorflow/core/api_def/python_api/api_def_SpaceToBatchND.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_SpaceToBatchND.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "space_to_batch_nd" - deprecation_message: "tf.space_to_batch_nd is deprecated, please use tf.manip.space_to_batch_nd instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_SquaredDifference.pbtxt b/tensorflow/core/api_def/python_api/api_def_SquaredDifference.pbtxt index 01a33a3346..4bab8cf00c 100644 --- a/tensorflow/core/api_def/python_api/api_def_SquaredDifference.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_SquaredDifference.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "squared_difference" - deprecation_message: "tf.squared_difference is deprecated, please use tf.math.squared_difference instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_StringJoin.pbtxt b/tensorflow/core/api_def/python_api/api_def_StringJoin.pbtxt index 53c1b8053d..46a7c0361e 100644 --- a/tensorflow/core/api_def/python_api/api_def_StringJoin.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_StringJoin.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "string_join" - deprecation_message: "tf.string_join is deprecated, please use tf.strings.join instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_StringStrip.pbtxt b/tensorflow/core/api_def/python_api/api_def_StringStrip.pbtxt index 364806e1f5..fbcdeaad6d 100644 --- a/tensorflow/core/api_def/python_api/api_def_StringStrip.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_StringStrip.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "string_strip" - deprecation_message: "tf.string_strip is deprecated, please use tf.strings.strip instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_StringToHashBucket.pbtxt b/tensorflow/core/api_def/python_api/api_def_StringToHashBucket.pbtxt index b0e93d2b22..d122e79b39 100644 --- a/tensorflow/core/api_def/python_api/api_def_StringToHashBucket.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_StringToHashBucket.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "string_to_hash_bucket" - deprecation_message: "tf.string_to_hash_bucket is deprecated, please use tf.strings.to_hash_bucket instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_StringToHashBucketFast.pbtxt b/tensorflow/core/api_def/python_api/api_def_StringToHashBucketFast.pbtxt index 9576e1a9de..aef9dffefe 100644 --- a/tensorflow/core/api_def/python_api/api_def_StringToHashBucketFast.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_StringToHashBucketFast.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "string_to_hash_bucket_fast" - deprecation_message: "tf.string_to_hash_bucket_fast is deprecated, please use tf.strings.to_hash_bucket_fast instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_StringToHashBucketStrong.pbtxt b/tensorflow/core/api_def/python_api/api_def_StringToHashBucketStrong.pbtxt index e8c7c12608..385b9fd02a 100644 --- a/tensorflow/core/api_def/python_api/api_def_StringToHashBucketStrong.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_StringToHashBucketStrong.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "string_to_hash_bucket_strong" - deprecation_message: "tf.string_to_hash_bucket_strong is deprecated, please use tf.strings.to_hash_bucket_strong instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_StringToNumber.pbtxt b/tensorflow/core/api_def/python_api/api_def_StringToNumber.pbtxt index 9de1ca0b30..f740b9849d 100644 --- a/tensorflow/core/api_def/python_api/api_def_StringToNumber.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_StringToNumber.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "string_to_number" - deprecation_message: "tf.string_to_number is deprecated, please use tf.strings.to_number instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Substr.pbtxt b/tensorflow/core/api_def/python_api/api_def_Substr.pbtxt index 25d1bb3f51..4778d7927c 100644 --- a/tensorflow/core/api_def/python_api/api_def_Substr.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Substr.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "substr" - deprecation_message: "tf.substr is deprecated, please use tf.strings.substr instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Tan.pbtxt b/tensorflow/core/api_def/python_api/api_def_Tan.pbtxt index 8bcf381dd4..ffa92f5580 100644 --- a/tensorflow/core/api_def/python_api/api_def_Tan.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Tan.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "tan" - deprecation_message: "tf.tan is deprecated, please use tf.math.tan instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Tile.pbtxt b/tensorflow/core/api_def/python_api/api_def_Tile.pbtxt index 0b9053a529..c34061c941 100644 --- a/tensorflow/core/api_def/python_api/api_def_Tile.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Tile.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "tile" - deprecation_message: "tf.tile is deprecated, please use tf.manip.tile instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentMax.pbtxt b/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentMax.pbtxt index 1ea59d2e63..cf81843241 100644 --- a/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentMax.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentMax.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "unsorted_segment_max" - deprecation_message: "tf.unsorted_segment_max is deprecated, please use tf.math.unsorted_segment_max instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentMin.pbtxt b/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentMin.pbtxt index 9857def6fe..475361c85a 100644 --- a/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentMin.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentMin.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "unsorted_segment_min" - deprecation_message: "tf.unsorted_segment_min is deprecated, please use tf.math.unsorted_segment_min instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentProd.pbtxt b/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentProd.pbtxt index d9e3f7be69..a9d741bbc3 100644 --- a/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentProd.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentProd.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "unsorted_segment_prod" - deprecation_message: "tf.unsorted_segment_prod is deprecated, please use tf.math.unsorted_segment_prod instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentSum.pbtxt b/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentSum.pbtxt index 0cffd12404..337678dcff 100644 --- a/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentSum.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_UnsortedSegmentSum.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "unsorted_segment_sum" - deprecation_message: "tf.unsorted_segment_sum is deprecated, please use tf.math.unsorted_segment_sum instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_WriteFile.pbtxt b/tensorflow/core/api_def/python_api/api_def_WriteFile.pbtxt index f28a9151ca..1a58ae19e5 100644 --- a/tensorflow/core/api_def/python_api/api_def_WriteFile.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_WriteFile.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "write_file" - deprecation_message: "tf.write_file is deprecated, please use tf.io.write_file instead." + deprecated: true } } diff --git a/tensorflow/core/api_def/python_api/api_def_Zeta.pbtxt b/tensorflow/core/api_def/python_api/api_def_Zeta.pbtxt index a84ffcdf14..4684a9d624 100644 --- a/tensorflow/core/api_def/python_api/api_def_Zeta.pbtxt +++ b/tensorflow/core/api_def/python_api/api_def_Zeta.pbtxt @@ -5,6 +5,6 @@ op { } endpoint { name: "zeta" - deprecation_message: "tf.zeta is deprecated, please use tf.math.zeta instead." + deprecated: true } } diff --git a/tensorflow/core/framework/api_def.proto b/tensorflow/core/framework/api_def.proto index c6cda06342..f8553cf5bb 100644 --- a/tensorflow/core/framework/api_def.proto +++ b/tensorflow/core/framework/api_def.proto @@ -64,12 +64,6 @@ message ApiDef { // to use a non-deprecated endpoint instead will be printed. If all // endpoints are deprecated, set deprecation_message in ApiDef instead. bool deprecated = 3; - // Deprecated: set deprecated to "true" instead. We can auto-generate - // the message. - // If this endpoint is deprecated, set deprecation_message to a - // message that should be logged when the endpoint is used. - // The message should indicate alternative endpoint to use, if any. - string deprecation_message = 2; } repeated Endpoint endpoint = 3; |