Skip to content

Commit 10f1d3e

Browse files
gchananfacebook-github-bot
authored andcommitted
Get rid of more defaults in Declarations.cwrap.
Summary: Pull Request resolved: #25611 Test Plan: Imported from OSS Differential Revision: D17172493 Pulled By: gchanan fbshipit-source-id: 0f4319f8024ac4eca62576231214227b341f56c4
1 parent fef2d2e commit 10f1d3e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

aten/src/ATen/Declarations.cwrap

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,8 +1111,7 @@
11111111
- THTensor* self
11121112
- arg: long dim
11131113
wrap_dim: self
1114-
- arg: bool descending
1115-
default: "false"
1114+
- bool descending
11161115
]]
11171116
[[
11181117
name: _th_topk
@@ -1542,7 +1541,6 @@
15421541
- arg: bool unbiased
15431542
if_true: 0
15441543
if_false: 1
1545-
default: 0
15461544
- cname: var
15471545
return: argument 0
15481546
scalar_check: self_->dim() == 0 || (keepdim == false && self_->dim() == 1)
@@ -1555,7 +1553,6 @@
15551553
- arg: bool unbiased
15561554
if_true: 0
15571555
if_false: 1
1558-
default: 0
15591556
- bool keepdim
15601557
]]
15611558
[[
@@ -1574,7 +1571,6 @@
15741571
- arg: bool unbiased
15751572
if_true: 0
15761573
if_false: 1
1577-
default: 0
15781574
- cname: std
15791575
return: argument 0
15801576
scalar_check: self_->dim() == 0 || (keepdim == false && self_->dim() == 1)
@@ -1587,7 +1583,6 @@
15871583
- arg: bool unbiased
15881584
if_true: 0
15891585
if_false: 1
1590-
default: 0
15911586
- bool keepdim
15921587
]]
15931588
[[
@@ -2151,7 +2146,6 @@
21512146
- arg: bool eigenvectors
21522147
if_true: V
21532148
if_false: N
2154-
default: N
21552149
]]
21562150
[[
21572151
name: _th_potri
@@ -2173,7 +2167,6 @@
21732167
- arg: bool upper
21742168
if_true: U
21752169
if_false: L
2176-
default: U
21772170
]]
21782171
[[
21792172
name: _th_geqrf
@@ -2233,11 +2226,9 @@
22332226
- arg: bool left
22342227
if_true: L
22352228
if_false: R
2236-
default: L
22372229
- arg: bool transpose
22382230
if_true: T
22392231
if_false: N
2240-
default: N
22412232
]]
22422233
[[
22432234
name: _th_random_

0 commit comments

Comments
 (0)