aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/sparse_ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/sparse_ops.py')
-rw-r--r--tensorflow/python/ops/sparse_ops.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/python/ops/sparse_ops.py b/tensorflow/python/ops/sparse_ops.py
index 0130233746..c3b16a7bd5 100644
--- a/tensorflow/python/ops/sparse_ops.py
+++ b/tensorflow/python/ops/sparse_ops.py
@@ -84,6 +84,8 @@ def _convert_to_sparse_tensors(sp_inputs):
# pylint: disable=protected-access
@tf_export("sparse_concat")
+@deprecation.deprecated_args(
+ None, "concat_dim is deprecated, use axis instead", "concat_dim")
def sparse_concat(axis,
sp_inputs,
name=None,
@@ -597,6 +599,8 @@ class KeywordRequired(object):
@tf_export("sparse_split")
+@deprecation.deprecated_args(
+ None, "split_dim is deprecated, use axis instead", "split_dim")
def sparse_split(keyword_required=KeywordRequired(),
sp_input=None,
num_split=None,