Skip to content

Commit

Permalink
R CMD check fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Jan 7, 2025
1 parent 6ad76f7 commit 0fa9656
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 24 deletions.
2 changes: 0 additions & 2 deletions R/initializers.R
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,6 @@ function (scale = 1, mode = "fan_in", distribution = "truncated_normal",
#' @family initializers
#' @family constant initializers
#' @tether keras.initializers.STFT
#' @seealso
#' + <https://www.tensorflow.org/api_docs/python/tf/keras/initializers/STFT>
initializer_stft <-
function (side = "real", window = "hann", scaling = "density",
periodic = FALSE)
Expand Down
2 changes: 1 addition & 1 deletion R/layers-preprocessing.R
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function (object, height, width, data_format = NULL, ...)
#' @family layers
#' @tether keras.layers.MaxNumBoundingBoxes
layer_max_num_bounding_boxes <-
function (object, max_number, fill_value = -1L, ..., padding_value = NULL)
function (object, max_number, fill_value = -1L, ...)
{
args <- capture_args(list(fill_value = as_integer, input_shape = normalize_shape,
batch_size = as_integer, batch_input_shape = normalize_shape),
Expand Down
2 changes: 0 additions & 2 deletions R/metrics.R
Original file line number Diff line number Diff line change
Expand Up @@ -3792,8 +3792,6 @@ function (y_true, y_pred, axis = -1L, ...,
#' @family metrics
#' @export
#' @tether keras.metrics.PearsonCorrelation
#' @seealso
#' + <https://www.tensorflow.org/api_docs/python/tf/keras/metrics/PearsonCorrelation>
metric_pearson_correlation <-
function (y_true, y_pred, axis = -1L, ..., name = "pearson_correlation",
dtype = NULL)
Expand Down
2 changes: 1 addition & 1 deletion R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#' Turing machine.
#' - Is capable of running on top of multiple back-ends including
#' [TensorFlow](https://github.com/tensorflow/tensorflow),
#' [Jax](https://github.com/google/jax),
#' [Jax](https://github.com/jax-ml/jax),
#' or [PyTorch](https://github.com/pytorch/pytorch).
#'
#' See the package website at <https://keras3.posit.co> for complete documentation.
Expand Down
4 changes: 0 additions & 4 deletions man/initializer_stft.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/keras3-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions man/layer_max_num_bounding_boxes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/layer_tfsm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/metric_pearson_correlation.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0fa9656

Please sign in to comment.