Skip to content

Commit 42c63a6

Browse files
Adding doc comments.
1 parent 96fc1c8 commit 42c63a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/TorchVision/Functional.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -691,9 +691,9 @@ public static Tensor posterize(Tensor input, int bits)
691691
/// Resize the input image to the given size.
692692
/// </summary>
693693
/// <param name="input">An image tensor.</param>
694-
/// <param name="height"></param>
695-
/// <param name="width"></param>
696-
/// <param name="maxSize"></param>
694+
/// <param name="height">The height of the resized image. Must be > 0.</param>
695+
/// <param name="width">The width of the resized image. Must be > 0.</param>
696+
/// <param name="maxSize">The maximum allowed for the longer edge of the resized image.</param>
697697
/// <returns></returns>
698698
public static Tensor resize(Tensor input, int height, int width, int? maxSize = null)
699699
{

0 commit comments

Comments
 (0)