Skip to content

Commit

Permalink
Fix deprecation warning with defaults for conv1d arguments
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 233324571
  • Loading branch information
jaingaurav authored and tensorflower-gardener committed Feb 11, 2019
1 parent 753cb67 commit f501504
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tensorflow/python/ops/nn_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/tools/api/golden/v1/tensorflow.nn.pbtxt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f501504

Please sign in to comment.