Fix deprecation warning with defaults for conv1d arguments

PiperOrigin-RevId: 233324571
This commit is contained in:
Gaurav Jain 2019-02-10 17:58:37 -08:00 committed by TensorFlower Gardener
parent 753cb67ab5
commit f501504583
2 changed files with 5 additions and 5 deletions

View File

@ -4114,10 +4114,10 @@ def fractional_avg_pool_v2(value,
warn_once=True,
data_format="NHWC")
def conv1d(
value,
filters,
stride,
padding,
value=None,
filters=None,
stride=None,
padding=None,
use_cudnn_on_gpu=None,
data_format=None,
name=None,

View File

@ -54,7 +54,7 @@ tf_module {
}
member_method {
name: "conv1d"
argspec: "args=[\'value\', \'filters\', \'stride\', \'padding\', \'use_cudnn_on_gpu\', \'data_format\', \'name\', \'input\', \'dilations\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'None\', \'None\', \'None\'], "
argspec: "args=[\'value\', \'filters\', \'stride\', \'padding\', \'use_cudnn_on_gpu\', \'data_format\', \'name\', \'input\', \'dilations\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'None\', \'None\', \'None\', \'None\', \'None\', \'None\', \'None\'], "
}
member_method {
name: "conv1d_transpose"