You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deepinv/physics/wrappers.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,9 @@ class PhysicsMultiScaler(Physics):
17
17
18
18
where :math:`U_{scale}` is the upsampling operator for the given scale and :math:`A_{base}` is the base physics operator.
19
19
20
-
By default, we assume that the factors for the different scales are [2, 4, 8]. The 0th scale corresponds to no upsampling,
21
-
the 1st scale corresponds to upsampling by a factor of 2, the 2nd scale corresponds to upsampling by a factor of 4, and so on.
20
+
By default, we assume that the factors for the different scales are [2, 4, 8].
21
+
The 1st scale corresponds to upsampling by a factor of 2, the 2nd scale corresponds to upsampling by a factor of 4, and so on.
22
+
The 0th scale corresponds to the base physics operator without upsampling.
22
23
23
24
:param deepinv.physics.Physics physics: base physics operator.
24
25
:param tuple img_shape: shape of the input image (C, H, W).
@@ -123,7 +124,7 @@ class PhysicsCropper(LinearPhysics):
123
124
The adjoint operator is defined as :math:`\tilde{A}^{\top} = C^{\top} \circ A^{\top}` and :math:`C^{\top}` is a padding operator that pads the input tensor to the original size.
124
125
125
126
:param deepinv.physics.LinearPhysics physics: base linear physics operator.
126
-
:param tuple pad: padding to apply to the input tensor, e.g., (pad_height, pad_width).
127
+
:param tuple crop: padding to apply to the input tensor, e.g., (pad_height, pad_width).
0 commit comments