Skip to content

Commit 3853675

Browse files
committed
R CMD check fixes
1 parent f7f22e9 commit 3853675

12 files changed

+87
-6
lines changed

R/layers-preprocessing.R

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1949,11 +1949,11 @@ function (object, addition_factor = 0, threshold_factor = 0,
19491949
#' equalized_image <- equalizer(image)
19501950
#'
19511951
#' # For images with custom value range
1952-
#' custom_equalizer = layer_equalization(
1952+
#' custom_equalizer <- layer_equalization(
19531953
#' value_range=c(0.0, 1.0), # for normalized images
19541954
#' bins=128 # fewer bins for more subtle equalization
19551955
#' )
1956-
#' custom_equalized = custom_equalizer(normalized_image)
1956+
#' custom_equalized <- custom_equalizer(normalized_image)
19571957
#' ```
19581958
#'
19591959
#' @param value_range
@@ -1974,6 +1974,8 @@ function (object, addition_factor = 0, threshold_factor = 0,
19741974
#' @param ...
19751975
#' For forward/backward compatability.
19761976
#'
1977+
#' @inheritParams layer_random_grayscale
1978+
#'
19771979
#' @export
19781980
#' @tether keras.layers.Equalization
19791981
#' @family image preprocessing layers
@@ -2021,6 +2023,7 @@ function (object, value_range = list(0L, 255L), bins = 256L,
20212023
#' @param ...
20222024
#' For forward/backward compatability.
20232025
#'
2026+
#' @inheritParams layer_random_grayscale
20242027
#' @export
20252028
#' @tether keras.layers.MixUp
20262029
#' @family image preprocessing layers
@@ -2073,6 +2076,7 @@ function (object, alpha = 0.2, data_format = NULL, seed = NULL,
20732076
#' @param ...
20742077
#' For forward/backward compatability.
20752078
#'
2079+
#' @inheritParams layer_random_grayscale
20762080
#' @export
20772081
#' @tether keras.layers.RandAugment
20782082
#' @family image preprocessing layers
@@ -2119,6 +2123,7 @@ function (object, value_range = list(0L, 255L), num_ops = 2L,
21192123
#' @param ...
21202124
#' For forward/backward compatability.
21212125
#'
2126+
#' @inheritParams layer_random_grayscale
21222127
#' @export
21232128
#' @tether keras.layers.RandomColorDegeneration
21242129
#' @family image preprocessing layers
@@ -2199,6 +2204,7 @@ function (object, factor, value_range = list(0L, 255L), data_format = NULL,
21992204
#' @param ...
22002205
#' For forward/backward compatability.
22012206
#'
2207+
#' @inheritParams layer_random_grayscale
22022208
#' @export
22032209
#' @tether keras.layers.RandomColorJitter
22042210
#' @family image preprocessing layers
@@ -2324,6 +2330,7 @@ function (object, factor = 0.5, data_format = NULL, seed = NULL,
23242330
#' For forward/backward compatability.
23252331
#'
23262332
#' @export
2333+
#' @inheritParams layer_random_grayscale
23272334
#' @tether keras.layers.RandomHue
23282335
#' @family image preprocessing layers
23292336
#' @family preprocessing layers
@@ -2366,6 +2373,7 @@ function (object, factor, value_range = list(0L, 255L), data_format = NULL,
23662373
#' For forward/backward compatability.
23672374
#'
23682375
#' @export
2376+
#' @inheritParams layer_random_grayscale
23692377
#' @tether keras.layers.RandomPosterization
23702378
#' @family image preprocessing layers
23712379
#' @family preprocessing layers
@@ -2422,6 +2430,7 @@ function (object, factor, value_range = list(0L, 255L), data_format = NULL,
24222430
#' For forward/backward compatability.
24232431
#'
24242432
#' @export
2433+
#' @inheritParams layer_random_grayscale
24252434
#' @tether keras.layers.RandomSaturation
24262435
#' @family image preprocessing layers
24272436
#' @family preprocessing layers
@@ -2471,6 +2480,7 @@ function (object, factor, value_range = list(0L, 255L), data_format = NULL,
24712480
#' For forward/backward compatability.
24722481
#'
24732482
#' @export
2483+
#' @inheritParams layer_random_grayscale
24742484
#' @tether keras.layers.RandomSharpness
24752485
#' @family image preprocessing layers
24762486
#' @family preprocessing layers
@@ -2549,6 +2559,7 @@ function (object, factor, value_range = list(0L, 255L), data_format = NULL,
25492559
#' For forward/backward compatability.
25502560
#'
25512561
#' @export
2562+
#' @inheritParams layer_random_grayscale
25522563
#' @tether keras.layers.RandomShear
25532564
#' @family image preprocessing layers
25542565
#' @family preprocessing layers

man/layer_equalization.Rd

Lines changed: 9 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/layer_mix_up.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/layer_rand_augment.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/layer_random_color_degeneration.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/layer_random_color_jitter.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/layer_random_hue.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/layer_random_posterization.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/layer_random_saturation.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/layer_random_sharpness.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)