Skip to content

Commit 928d3a1

Browse files
Bug fix: softmax()'s axis argument should EnforceRange (#746)
All input integers have [EnforceRange] applied to prevent weirdness... except softmax()'s axis argument. Already present in the Chromium prototype implementation; it looks like this argument was just missed in 6023741.
1 parent 4697a0d commit 928d3a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5441,7 +5441,7 @@ the N-D input tensor along the given axis.
54415441
<script type=idl>
54425442
partial interface MLGraphBuilder {
54435443
MLOperand softmax(MLOperand input,
5444-
unsigned long axis,
5444+
[EnforceRange] unsigned long axis,
54455445
optional MLOperatorOptions options = {});
54465446
};
54475447
</script>

0 commit comments

Comments
 (0)