Skip to content

Commit 07e7c7e

Browse files
gchananfacebook-github-bot
authored andcommitted
Kill remaining defaults in Declarations.cwrap.
Summary: Pull Request resolved: #25612 Test Plan: Imported from OSS Differential Revision: D17172499 Pulled By: gchanan fbshipit-source-id: f99e813a4a90e8576541da317027e6f8ae76079b
1 parent 10f1d3e commit 07e7c7e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

aten/src/ATen/Declarations.cwrap

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
- THStorage* source
3434
- long storage_offset
3535
- IntArrayRefSize size
36-
- arg: IntArrayRef stride
37-
default: {}
36+
- IntArrayRef stride
3837
]]
3938
[[
4039
name: _th_fill_
@@ -1877,8 +1876,7 @@
18771876
- arg: THTensor* result
18781877
output: True
18791878
- THTensor* self
1880-
- arg: long diagonal
1881-
default: 0
1879+
- long diagonal
18821880
aten_custom_call: |
18831881
if (self_->dim() == 0) {
18841882
throw std::runtime_error("Input must be 1-d or 2-d");

0 commit comments

Comments
 (0)