Skip to content

Commit

Permalink
Update content/pytorch/concepts/tensor-operations/terms/index-reduce/…
Browse files Browse the repository at this point in the history
…index-reduce.md

Co-authored-by: Pragati Verma <[email protected]>
  • Loading branch information
mamtawardhani and PragatiVerma18 authored Dec 16, 2024
1 parent 1a13bf7 commit 0a2ec65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Tensor.index_reduce_(dim, index, source, reduce, *, include_self=True)
- `'amax'`: Maximum of elements with the same index.
- `'amin'`: Minimum of elements with the same index.
- `include_self` (Optional): Determines whether the existing values in the current tensor are included in the reduction operation.
- If `True`, the values already present in the tensor are included.
- If `True`, the values already present in the tensor are included. If no value is provided for the parameter, `include_self` defaults to `True`.
- If `False`, only the `source` tensor values contribute to the reduction.

## Example
Expand Down

0 comments on commit 0a2ec65

Please sign in to comment.