Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
smit-hinsu committed Dec 20, 2022
1 parent 1b68356 commit e7b916f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -2837,10 +2837,10 @@ Returns the size of the given `dimension` of the `operand`.

### Inputs

| Name | Type |
|-----------|------------------------------|
| `operand` | tensor of any supported type |
| `index` | constant of type `si64` |
| Name | Type |
|---------------|------------------------------|
| `operand` | tensor of any supported type |
| `dimension` | constant of type `si64` |

### Outputs

Expand All @@ -2852,7 +2852,6 @@ Returns the size of the given `dimension` of the `operand`.

* (C1) 0 $\le$ `dimension` $\lt$ rank of `operand`. [todo](https://github.com/openxla/stablehlo/issues/790)
* (C2) dim(operand, dimension) $\le$ std::numeric_limits<int32_t>::max(). [todo](https://github.com/openxla/stablehlo/issues/790)
* (C3) `result` is of type `tensor<i32>`

### Examples

Expand Down

0 comments on commit e7b916f

Please sign in to comment.