Skip to content

Commit

Permalink
[DOCS] Reduce Min / Max -- Reducing empty tensor would result in an u…
Browse files Browse the repository at this point in the history
…ndefined behavior (openvinotoolkit#20736)
  • Loading branch information
jane-intel authored Dec 7, 2023
1 parent b71906c commit dde7e70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Particular cases:
1. If ``axes`` is an empty list, *ReduceMax* corresponds to the identity operation.
2. If ``axes`` contains all dimensions of input ``data``, a single reduction value is calculated for the entire input tensor.

Reducing empty tensor results in an undefined behavior.

**Attributes**

* *keep_dims*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Particular cases:
1. If ``axes`` is an empty list, *ReduceMin* corresponds to the identity operation.
2. If ``axes`` contains all dimensions of input ``data``, a single reduction value is calculated for the entire input tensor.

Reducing empty tensor results in an undefined behavior.

**Attributes**

* *keep_dims*
Expand Down

0 comments on commit dde7e70

Please sign in to comment.