Skip to content

Commit 00108cc

Browse files
fixed lint and format
1 parent cb7227d commit 00108cc

File tree

1 file changed

+2
-2
lines changed
  • content/pytorch/concepts/tensor-operations/terms/angle

1 file changed

+2
-2
lines changed

content/pytorch/concepts/tensor-operations/terms/angle/angle.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ torch.angle(input, *, out=None)
2929
- `input`: The input complex tensor for which to compute the element-wise angle.
3030
- `out` (Optional): Output tensor to store the result. If provided, this tensor will be used for the output, otherwise a new tensor is created.
3131

32-
**Return value:**
32+
**Return value:**
3333

3434
A new tensor containing the element-wise angle (in radians) of the input tensor.
3535

@@ -112,7 +112,7 @@ from numpy import pi
112112

113113
# Define a complex 2D tensor
114114
input = torch.tensor([
115-
[1 - 2j, 2 + 3j, 3 - 3j],
115+
[1 - 2j, 2 + 3j, 3 - 3j],
116116
[4 + 3j, 5 - 4j, -6 + 2j],
117117
[-7 - 2j, 8 + 2j, 9 - 4j]
118118
])

0 commit comments

Comments
 (0)