Skip to content

Commit bec8e7e

Browse files
authored
Merge pull request #539 from inexorabletash/bugfix-sequence-options-null
Bug fix: Optional sequences shouldn't be defaulted to null
2 parents 5c94a45 + 44d5e0b commit bec8e7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ Return the index location of the minimum or maxmium values of all the input valu
13311331

13321332
<script type=idl>
13331333
dictionary MLArgMinMaxOptions {
1334-
sequence<unsigned long> axes = null;
1334+
sequence<unsigned long> axes;
13351335
boolean keepDimensions = false;
13361336
boolean selectLastIndex = false;
13371337
};
@@ -4770,7 +4770,7 @@ partial interface MLGraphBuilder {
47704770
Reduce the input tensor along all dimensions, or along the axes specified in the {{MLReduceOptions/axes}} array parameter. For each specified axis, the dimension with that index is reduced, i.e. the resulting tensor will not contain it, unless the {{MLReduceOptions/keepDimensions}} option is specified. The values of the resulting tensor are calculated using the specified reduction function that takes as parameters all the values across the reduced dimension.
47714771
<script type=idl>
47724772
dictionary MLReduceOptions {
4773-
sequence<unsigned long> axes = null;
4773+
sequence<unsigned long> axes;
47744774
boolean keepDimensions = false;
47754775
};
47764776

0 commit comments

Comments
 (0)