From 227369b60616c3e1f5ade1d68c3475d8556481a7 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 17 Sep 2024 13:54:48 +0000 Subject: [PATCH] Built site for torchvision@0.6.0.9000: 0f6456f --- dev/news/index.html | 3 ++- dev/pkgdown.yml | 2 +- dev/reference/transform_affine.html | 23 +++++++---------------- 3 files changed, 10 insertions(+), 18 deletions(-) diff --git a/dev/news/index.html b/dev/news/index.html index 6cdfa9c..e5841fc 100644 --- a/dev/news/index.html +++ b/dev/news/index.html @@ -80,7 +80,8 @@

Changelog

-
diff --git a/dev/pkgdown.yml b/dev/pkgdown.yml index d421acf..8ddcaca 100644 --- a/dev/pkgdown.yml +++ b/dev/pkgdown.yml @@ -8,4 +8,4 @@ articles: examples/style-transfer: examples/style-transfer.html examples/texture-nca: examples/texture-nca.html examples/tinyimagenet-alexnet: examples/tinyimagenet-alexnet.html -last_built: 2024-09-17T13:51Z +last_built: 2024-09-17T13:54Z diff --git a/dev/reference/transform_affine.html b/dev/reference/transform_affine.html index bedb565..01033a5 100644 --- a/dev/reference/transform_affine.html +++ b/dev/reference/transform_affine.html @@ -109,28 +109,19 @@

Arguments

translate
-

(tuple, optional): tuple of maximum absolute fraction for -horizontal and vertical translations. For example translate=c(a, b), then -horizontal shift is randomly sampled in the range --img_width * a < dx < img_width * a and vertical shift is randomly sampled -in the range -img_height * b < dy < img_height * b. Will not translate by -default.

+

(sequence of int) – horizontal and vertical translations +(post-rotation translation)

scale
-

(tuple, optional): scaling factor interval, e.g c(a, b), then -scale is randomly sampled from the range a <= scale <= b. Will keep -original scale by default.

+

(float) – overall scale

shear
-

(sequence or float or int, optional): Range of degrees to select -from. If shear is a number, a shear parallel to the x axis in the range -(-shear, +shear) will be applied. Else if shear is a tuple or list of 2 -values a shear parallel to the x axis in the range (shear[1], shear[2]) -will be applied. Else if shear is a tuple or list of 4 values, a x-axis -shear in (shear[1], shear[2]) and y-axis shear in (shear[3], shear[4]) -will be applied. Will not apply shear by default.

+

(float or sequence) – shear angle value in degrees between -180 to 180, +clockwise direction. If a sequence is specified, the first value corresponds +to a shear parallel to the x-axis, while the second value corresponds to a +shear parallel to the y-axis.

resample