Remove "_native_" from depthwise_conv2d_native_backprop_input in TF 2.0 API

New name (depthwise_conv2d_backprop_input), same semantics.

PiperOrigin-RevId: 221933568
This commit is contained in:
A. Unique TensorFlower 2018-11-17 12:23:04 -08:00 committed by TensorFlower Gardener
parent 67d114bfce
commit 1f33c8d2ed
4 changed files with 20 additions and 8 deletions

View File

@ -2,5 +2,10 @@ op {
graph_op_name: "DepthwiseConv2dNativeBackpropInput"
endpoint {
name: "nn.depthwise_conv2d_native_backprop_input"
deprecated: true
deprecation_version: 2
}
endpoint {
name: "nn.depthwise_conv2d_backprop_input"
}
}

View File

@ -116,6 +116,10 @@ tf_module {
name: "depthwise_conv2d"
argspec: "args=[\'input\', \'filter\', \'strides\', \'padding\', \'rate\', \'name\', \'data_format\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'None\'], "
}
member_method {
name: "depthwise_conv2d_backprop_input"
argspec: "args=[\'input_sizes\', \'filter\', \'out_backprop\', \'strides\', \'padding\', \'data_format\', \'dilations\', \'name\'], varargs=None, keywords=None, defaults=[\'NHWC\', \'[1, 1, 1, 1]\', \'None\'], "
}
member_method {
name: "depthwise_conv2d_native"
argspec: "args=[\'input\', \'filter\', \'strides\', \'padding\', \'data_format\', \'dilations\', \'name\'], varargs=None, keywords=None, defaults=[\'NHWC\', \'[1, 1, 1, 1]\', \'None\'], "

View File

@ -109,12 +109,12 @@ tf_module {
argspec: "args=[\'input\', \'filter\', \'strides\', \'padding\', \'data_format\', \'dilations\', \'name\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'None\'], "
}
member_method {
name: "depthwise_conv2d_native_backprop_filter"
argspec: "args=[\'input\', \'filter_sizes\', \'out_backprop\', \'strides\', \'padding\', \'data_format\', \'dilations\', \'name\'], varargs=None, keywords=None, defaults=[\'NHWC\', \'[1, 1, 1, 1]\', \'None\'], "
name: "depthwise_conv2d_backprop_input"
argspec: "args=[\'input_sizes\', \'filter\', \'out_backprop\', \'strides\', \'padding\', \'data_format\', \'dilations\', \'name\'], varargs=None, keywords=None, defaults=[\'NHWC\', \'[1, 1, 1, 1]\', \'None\'], "
}
member_method {
name: "depthwise_conv2d_native_backprop_input"
argspec: "args=[\'input_sizes\', \'filter\', \'out_backprop\', \'strides\', \'padding\', \'data_format\', \'dilations\', \'name\'], varargs=None, keywords=None, defaults=[\'NHWC\', \'[1, 1, 1, 1]\', \'None\'], "
name: "depthwise_conv2d_native_backprop_filter"
argspec: "args=[\'input\', \'filter_sizes\', \'out_backprop\', \'strides\', \'padding\', \'data_format\', \'dilations\', \'name\'], varargs=None, keywords=None, defaults=[\'NHWC\', \'[1, 1, 1, 1]\', \'None\'], "
}
member_method {
name: "dilation2d"

View File

@ -57,6 +57,7 @@ renames = {
'tf.SparseConditionalAccumulator': 'tf.sparse.SparseConditionalAccumulator',
'tf.SparseFeature': 'tf.io.SparseFeature',
'tf.TFRecordReader': 'tf.compat.v1.TFRecordReader',
'tf.TensorInfo': 'tf.compat.v1.TensorInfo',
'tf.TextLineReader': 'tf.compat.v1.TextLineReader',
'tf.VERSION': 'tf.version.VERSION',
'tf.VarLenFeature': 'tf.io.VarLenFeature',
@ -116,7 +117,6 @@ renames = {
'tf.decode_raw': 'tf.io.decode_raw',
'tf.delete_session_tensor': 'tf.compat.v1.delete_session_tensor',
'tf.depth_to_space': 'tf.nn.depth_to_space',
'tf.depthwise_conv2d_native': 'tf.compat.v1.depthwise_conv2d_native',
'tf.dequantize': 'tf.quantization.dequantize',
'tf.deserialize_many_sparse': 'tf.io.deserialize_many_sparse',
'tf.diag': 'tf.linalg.tensor_diag',
@ -174,6 +174,7 @@ renames = {
'tf.get_session_tensor': 'tf.compat.v1.get_session_tensor',
'tf.get_variable': 'tf.compat.v1.get_variable',
'tf.get_variable_scope': 'tf.compat.v1.get_variable_scope',
'tf.gfile.Exists': 'tf.compat.v1.gfile.Exists',
'tf.gfile.FastGFile': 'tf.compat.v1.gfile.FastGFile',
'tf.gfile.GFile': 'tf.compat.v1.gfile.GFile',
'tf.gfile.Open': 'tf.compat.v1.gfile.Open',
@ -301,6 +302,7 @@ renames = {
'tf.nn.conv3d_backprop_filter_v2': 'tf.nn.conv3d_backprop_filter',
'tf.nn.ctc_beam_search_decoder_v2': 'tf.nn.ctc_beam_search_decoder',
'tf.nn.depthwise_conv2d_native': 'tf.compat.v1.nn.depthwise_conv2d_native',
'tf.nn.depthwise_conv2d_native_backprop_input': 'tf.nn.depthwise_conv2d_backprop_input',
'tf.nn.dynamic_rnn': 'tf.compat.v1.nn.dynamic_rnn',
'tf.nn.log_uniform_candidate_sampler': 'tf.random.log_uniform_candidate_sampler',
'tf.nn.quantized_avg_pool': 'tf.compat.v1.nn.quantized_avg_pool',
@ -349,7 +351,7 @@ renames = {
'tf.random_crop': 'tf.image.random_crop',
'tf.random_gamma': 'tf.random.gamma',
'tf.random_normal': 'tf.random.normal',
'tf.random_poisson': 'tf.random.poisson',
'tf.random_poisson': 'tf.compat.v1.random_poisson',
'tf.random_shuffle': 'tf.random.shuffle',
'tf.random_uniform': 'tf.random.uniform',
'tf.read_file': 'tf.io.read_file',
@ -437,6 +439,7 @@ renames = {
'tf.space_to_batch': 'tf.nn.space_to_batch',
'tf.space_to_depth': 'tf.nn.space_to_depth',
'tf.sparse.placeholder': 'tf.compat.v1.sparse.placeholder',
'tf.sparse.reduce_max_sparse': 'tf.compat.v1.sparse.reduce_max_sparse',
'tf.sparse_add': 'tf.sparse.add',
'tf.sparse_fill_empty_rows': 'tf.sparse.fill_empty_rows',
'tf.sparse_mask': 'tf.sparse.mask',
@ -445,8 +448,8 @@ renames = {
'tf.sparse_merge': 'tf.sparse.merge',
'tf.sparse_minimum': 'tf.sparse.minimum',
'tf.sparse_placeholder': 'tf.compat.v1.sparse_placeholder',
'tf.sparse_reduce_max': 'tf.sparse.reduce_max',
'tf.sparse_reduce_max_sparse': 'tf.sparse.reduce_max_sparse',
'tf.sparse_reduce_max': 'tf.compat.v1.sparse_reduce_max',
'tf.sparse_reduce_max_sparse': 'tf.compat.v1.sparse_reduce_max_sparse',
'tf.sparse_reduce_sum': 'tf.sparse.reduce_sum',
'tf.sparse_reduce_sum_sparse': 'tf.sparse.reduce_sum_sparse',
'tf.sparse_reorder': 'tf.sparse.reorder',